blob: 414795c9772e7c8460c67765cb42595e95d75630 [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
import "org-dartlang-testcase:///issue41499_lib.dart";
class C extends core::Object {
synthetic constructor •() self::C
;
static method sTest() () void
;
method mTest() () void
;
get gTest() () void
;
}
static method test() () void
;
static method main() dynamic
;
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/nnbd_mixed/issue41499_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;
typedef LegacyFoo = () void;
static method test(() void f) dynamic
;