blob: 2ba066816b74ac290a41702ecaa9e3bf588a2d15 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/general_nnbd_opt_out/bug30695.dart:13:3: Error: Can't declare a member that conflicts with an inherited one.
// foo() => 42;
// ^^^
// pkg/front_end/testcases/general_nnbd_opt_out/bug30695.dart:8:7: Context: This is the inherited member.
// var foo = 42;
// ^^^
//
import self as self;
import "dart:core" as core;
class A extends core::Object {
field core::int* foo;
synthetic constructor •() self::A*
;
}
class B extends self::A {
synthetic constructor •() self::B*
;
method foo() dynamic
;
}
static method main() dynamic
;