blob: a8167e756184c1ebbf70abd8b5e4ee504efdf5a2 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/deferred_type_annotation.dart:7:5: Warning: The type 'C' is deferred loaded via prefix 'd' 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 'd' or use a supertype of 'C' that isn't deferred.
// bad(d.C x) {}
// ^^^
//
import self as self;
import "./deferred_lib.dart" as def;
static method bad(def::C x) dynamic {}
static method main() dynamic {}