| library /*isNonNullableByDefault*/; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/value_class/non_final_field_error.dart:9:7: Error: Field 'numLegs' should be initialized because its type 'int' doesn't allow null. |
| // int numLegs; |
| // ^^^^^^^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| @#C1 |
| class Animal extends core::Object { |
| field core::int numLegs = null; |
| synthetic constructor •() → self::Animal |
| : super core::Object::•() |
| ; |
| } |
| static const field core::String valueClass = #C1; |
| static method main() → dynamic {} |
| |
| constants { |
| #C1 = "valueClass" |
| } |