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