Files
sdk/pkg/front_end/testcases/nnbd/issue44857.dart.weak.expect
T
Johnni Winther fdc765faad [cfe] Make TypeParameter.defaultType non-nullable
TEST=existing

Change-Id: I0a8fdf09f742b55357411f12dc6164d4050bb83c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196283
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2021-04-21 13:51:50 +00:00

14 lines
371 B
Plaintext

library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
typedef F = (<T extends Never = dynamic>(T) → void) → Never;
static method main() → void {
core::print("Are ${#C1}, ${#C1} identical?");
core::print(core::identical(#C1, #C1));
}
constants {
#C1 = TypeLiteralConstant((<T extends Never*>(Never*) →* void) →* Never*)
}