blob: 94400c121b3d040a371196cb10056ed016b14f61 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/rasta/class_hierarchy.dart:5:17: Error: Type 'Missing' not found.
// class A extends Missing {}
// ^^^^^^^
//
// pkg/front_end/testcases/rasta/class_hierarchy.dart:7:20: Error: Type 'Missing' not found.
// class B implements Missing {}
// ^^^^^^^
//
// pkg/front_end/testcases/rasta/class_hierarchy.dart:9:23: Error: Type 'Missing' not found.
// class C = Object with Missing;
// ^^^^^^^
//
// pkg/front_end/testcases/rasta/class_hierarchy.dart:9:7: Error: The type 'Missing' can't be mixed in.
// class C = Object with Missing;
// ^
//
// pkg/front_end/testcases/rasta/class_hierarchy.dart:12:17: Error: Couldn't find constructor 'Missing'.
// factory D() = Missing;
// ^
//
// pkg/front_end/testcases/rasta/class_hierarchy.dart:12:17: Error: Redirection constructor target not found: 'Missing'
// factory D() = Missing;
// ^
//
import self as self;
import "dart:core" as core;
class A extends core::Object {
synthetic constructor •() self::A
;
}
class B extends core::Object {
synthetic constructor •() self::B
;
}
class C extends core::Object /*hasConstConstructor*/ {
const synthetic constructor •() self::C
: super core::Object::•()
;
}
class D extends core::Object {
static final field dynamic _redirecting# = <dynamic>[self::D::•]/*isLegacy*/;
static factory •() self::D
return invalid-expression "pkg/front_end/testcases/rasta/class_hierarchy.dart:12:17: Error: Redirection constructor target not found: 'Missing'
factory D() = Missing;
^";
}
static method main() void
;
Extra constant evaluation status:
Evaluated: ConstructorTearOff @ org-dartlang-testcase:///class_hierarchy.dart:11:7 -> ConstructorTearOffConstant(D.)
Extra constant evaluation: evaluated: 2, effectively constant: 1