blob: ccf0d3f9e65fcfeb5597c90504ab2a88fbfea546 [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
import "org-dartlang-testcase:///issue41498_lib.dart";
class C extends core::Object {
synthetic constructor •() self::C
;
static method test() void
;
method test2() void
;
}
static method test() dynamic
;
static method main() dynamic
;
library opted_out_lib /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/nnbd_mixed/issue41498_lib.dart:5:1: Error: A library can't opt out of non-nullable by default, when in nnbd-strong mode.
// // @dart=2.6
// ^^^^^^^^^^^^
//
import self as self2;
import "dart:core" as core;
typedef LegacyFoo = () void;
class C extends core::Object {
synthetic constructor •() self2::C
;
static method test() void
;
method test2() void
;
}
static method test() dynamic
;