blob: 701927d1c92ee63b7fd23d01ff031ad931268cba [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "strong_lib.dart" as str;
import "org-dartlang-testcase:///strong_lib.dart";
static method main() dynamic {
str::foo();
}
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong_lib.dart:1:1: Error: A library can't opt out of null safety by default, when using sound null safety.
// // @dart = 2.7
// ^^^^^^^^^^^^^^
//
import self as str;
import "dart:core" as core;
static method foo() void {
core::print("hello");
}