blob: d82327a001fc1bc5a14dabb83491ccf7e6cc2c46 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/check_deferred_as_check.dart:9:8: Warning: The type 'C' is deferred loaded via prefix 'lib' and can't be used as a type annotation.
// - 'C' is from 'pkg/front_end/testcases/deferred_lib.dart'.
// Try removing 'deferred' from the import of 'lib' or use a supertype of 'C' that isn't deferred.
// x as lib.C;
// ^^^^^
//
import self as self;
static method main() dynamic {}
static method test(dynamic x) dynamic {
x as invalid-type;
}