blob: eb5a0ebaece5f4129aa138f3d4c4df0c5766bc48 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/general/issue46745.dart:8:3: Error: 'A.foo' is already declared in this scope.
// A.foo();
// ^^^^^
// pkg/front_end/testcases/general/issue46745.dart:7:11: Context: Previous declaration of 'A.foo'.
// factory A.foo() => A._();
// ^^^^^
//
import self as self;
import "dart:core" as core;
class A extends core::Object {
constructor _() self::A
;
static factory foo() self::A
;
}
static method main() dynamic
;