blob: d61c880ec6e0c635615eb1dd235d96d098c7fc41 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class Foo extends core::Object {
constructor •() void
: super core::Object::•()
invalid-expression "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::•();
}