blob: 463d7598cacc977b78025c7e5633df1ebd43fdfd [file] [log] [blame]
library;
//
// 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 factory •() self::Supertype /* redirection-target: self::X::• */
return new self::X::•();
}
class X extends core::Object implements self::Supertype {
constructor •() self::X
;
}
static method main() dynamic
;