blob: 2cbc6e821bf57da53d50f32d2deac28e42ec00b3 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/constructor_tearoffs/nongeneric_tearoff_without_context.dart:9:12: Error: Getter not found: 'foo'.
// bar() => A.foo;
// ^^^
//
import self as self;
import "dart:core" as core;
class A extends core::Object {
constructor foo() self::A
: super core::Object::•() {}
}
static method bar() dynamic
return invalid-expression "pkg/front_end/testcases/constructor_tearoffs/nongeneric_tearoff_without_context.dart:9:12: Error: Getter not found: 'foo'.
bar() => A.foo;
^^^";
static method main() dynamic {}