blob: 643d8a4cdefe1bbdc595cc0dda21f00c0e11ce66 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/regress/issue_35260.dart:7:11: Error: 'Supertype' is already declared in this scope.
// factory Supertype() = X;
// ^^^^^^^^^
// pkg/front_end/testcases/regress/issue_35260.dart:6:11: Context: Previous declaration of 'Supertype'.
// factory Supertype() = X;
// ^^^^^^^^^
//
import self as self;
import "dart:core" as core;
class Supertype extends core::Object {
static final field dynamic _redirecting# = <dynamic>[self::Supertype::•]/*isLegacy*/;
static factory •() self::Supertype
return new self::X::•();
}
class X extends core::Object implements self::Supertype {
constructor •() self::X
;
}
static method main() dynamic
;
Extra constant evaluation status:
Evaluated: ConstructorTearOff @ org-dartlang-testcase:///issue_35260.dart:5:7 -> ConstructorTearOffConstant(Supertype.)
Extra constant evaluation: evaluated: 3, effectively constant: 1