blob: 944b59d7883a11f1a4a6fcf1d7c7ba21a7f48010 [file] [log] [blame]
library;
import self as self;
static const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/check_deferred_type_declaration.dart:9:3: Error: The type '#lib1::C' is deferred loaded via prefix 'lib' and can't be used as a type annotation.\nTry removing 'deferred' from the import of 'lib' or use a supertype of '#lib1::C' that isn't deferred.\n lib.C x = null;\n ^"]/* from null */;
static method main() dynamic
return self::test();
static method test() dynamic {
invalid-type x = null;
}