blob: 9446333396a4926dd693bf1db2f158874cd6ca80 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class Foo extends core::Object {
constructor •() void
: super core::Object::•()
const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/bad_redirection.dart:6:11: Error: Can't return from a constructor.\n Foo() = Bar;\n ^"));
}
class Bar extends self::Foo {
static factory •() self::Bar
return null;
}
static method main() dynamic {
new self::Foo::•();
}