blob: ac573d6b827647acdf0eb0d3b566843dec648aaa [file] [log] [blame]
library test;
//
// Problems in library:
//
// pkg/front_end/testcases/inference_new/infer_field_override_setter_overrides_getter.dart:19:7: Error: Can't infer a type for 'x' as some of the inherited members have different types.
// Try adding an explicit type.
// var x;
// ^
//
import self as self;
import "dart:core" as core;
abstract class A extends core::Object {
synthetic constructor •() self::A*
;
abstract get x() core::num*;
}
abstract class B extends self::A {
synthetic constructor •() self::B*
;
abstract set x(core::int* value) void;
}
class C extends self::B {
field invalid-type x;
synthetic constructor •() self::C*
;
}
static method main() dynamic
;