blob: 1b2c0f3f556032ce19c835df385c5fa4d64540b8 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/nnbd/potentially_non_nullable_field.dart:8:5: Error: Field 'x' should be initialized because its type 'int' doesn't allow null.
// int x; // Error.
// ^
//
// pkg/front_end/testcases/nnbd/potentially_non_nullable_field.dart:13:14: Error: Field 'x' should be initialized because its type 'int' doesn't allow null.
// static int x; // Error.
// ^
//
import self as self;
import "dart:core" as core;
class A<T extends core::Object?> extends core::Object {
static field core::int x;
static field core::int? y;
late static field core::int z;
field core::int lx;
field core::int? ly;
late field core::int? lz;
field core::int lv;
field core::int lu;
covariant-by-class field self::A::T% lt;
covariant-by-class field self::A::T? ls;
late covariant-by-class field self::A::T% lr;
covariant-by-class field self::A::T% lp;
covariant-by-class field self::A::T% lq;
constructor •(core::int lv, self::A::T% lp, self::A::T% t) self::A<self::A::T%>
;
}
static field core::int x;
static field core::int? y;
late static field core::int z;
static method main() dynamic
;