c6bd2afc10
Closes #44857. Bug: https://github.com/dart-lang/sdk/issues/44857 Change-Id: I1082fded9a0b06cbcf30c484975b0cf464db75a4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/182781 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
14 lines
376 B
Plaintext
14 lines
376 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 = dynamic>(Never) → void) → Never)
|
|
}
|