blob: 6a4719aa5e3b3f75ed63c75f80f67ed919a96128 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/nnbd/issue41597.dart:8:6: Error: 'x' is already declared in this scope.
// bool x;
// ^
// pkg/front_end/testcases/nnbd/issue41597.dart:7:6: Context: Previous declaration of 'x'.
// bool x;
// ^
//
// pkg/front_end/testcases/nnbd/issue41597.dart:8:6: Error: Field 'x' should be initialized because its type 'bool' doesn't allow null.
// bool x;
// ^
//
// pkg/front_end/testcases/nnbd/issue41597.dart:7:6: Error: Field 'x' should be initialized because its type 'bool' doesn't allow null.
// bool x;
// ^
//
import self as self;
import "dart:core" as core;
import "org-dartlang-testcase:///issue41597_lib.dart";
class C extends core::Object {
constructor c0() self::C
;
constructor c1() self::C
;
}
static field core::bool x;
static method errors() dynamic
;
static method main() dynamic
;
library;
import self as self2;
static method errors(dynamic c) dynamic
;