blob: 21e5e15aecfdc15b3ee6e77eef97b2f3750e574c [file] [log] [blame]
library test;
//
// Problems in library:
//
// pkg/front_end/testcases/inference_new/infer_field_getter_setter_mismatch.dart:16: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::int*;
abstract set x(core::double* value) void;
}
class B extends self::A {
field invalid-type x;
synthetic constructor •() self::B*
;
}
static method main() dynamic
;