blob: 9c469b873cf461ef9571be6c177f66d4acf31a2b [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/value_class/value_extends_non_value_error.dart:8:7: Error: Field 'numberOfLegs' should be initialized because its type 'int' doesn't allow null.
// int numberOfLegs;
// ^^^^^^^^^^^^
//
import self as self;
import "dart:core" as core;
class Animal extends core::Object {
field core::int numberOfLegs = null;
synthetic constructor •() self::Animal
: super core::Object::•()
;
}
class Cat extends self::Animal {
synthetic constructor •() self::Cat
: super self::Animal::•()
;
}
static const field core::String valueClass = #C1;
static method main() dynamic {}
constants {
#C1 = "valueClass"
}