blob: 176e174a825f348ad7df28d76588e15d36e4db3a [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/nnbd/definite_assignment_and_completion.dart:10:10: Warning: Non-nullable variable 'x' is used before it's assigned.
// return x;
// ^
//
import self as self;
import "dart:core" as core;
static method foo() core::int {
core::int x;
return x;
}
static method bar() core::int {}
static method main() dynamic {}