blob: d4f6b1b05aa3b239a894b474c7996685b8297b50 [file] [log] [blame]
// Formatted problems:
//
// pkg/front_end/testcases/regress/issue_32200.dart:8:3: Warning: 'self.Foo' can't be used as a type because 'self' doesn't refer to an import prefix.
// self.Foo self;
// ^^^^^^^^
library;
import self as self;
import "dart:core" as core;
class Foo extends core::Object {
field invalid-type self = null;
synthetic constructor •() self::Foo
: super core::Object::•()
;
}
static method main() dynamic {
self::Foo instance = new self::Foo::•();
instance.self = instance;
}