blob: 549053c175f1c9b48308c599a1a63f04728f7edd [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/value_class/value_implements_non_value.dart:8:13: Error: Final field 'numLegs' is not initialized.
// Try to initialize the field in the declaration or in every constructor.
// final int numLegs;
// ^^^^^^^
//
// pkg/front_end/testcases/value_class/value_implements_non_value.dart:13:13: Error: Final field 'numLegs' is not initialized.
// Try to initialize the field in the declaration or in every constructor.
// final int numLegs;
// ^^^^^^^
//
import self as self;
import "dart:core" as core;
class Animal extends core::Object {
final field core::int numLegs = null;
synthetic constructor •() self::Animal
: super core::Object::•()
;
}
@#C1
class Cat extends core::Object implements self::Animal {
final field core::int numLegs = null;
synthetic constructor •() self::Cat
: super core::Object::•()
;
}
static const field core::String valueClass = #C1;
static method main() dynamic {}
constants {
#C1 = "valueClass"
}