fdc765faad
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>
14 lines
371 B
Plaintext
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*)
|
|
}
|