blob: a37557590a18ef9f2ea585a836f476f5a16ff20c [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
: super core::Object::•()
;
static factory foo() self::A
return new self::A::_();
}
static method main() dynamic {}