blob: ccacb73291824fc3da30b9239a685154dd7e3f5e [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/general/async_method_with_invalid_type.dart:6:3: Error: 'Bar' isn't a type.
// Bar x;
// ^^^
//
import self as self;
static method foo() dynamic async /* futureValueType= dynamic */ {
invalid-type x;
for (dynamic y in x{<invalid>}.z) {
}
}
static method main() dynamic {}