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>
16 lines
779 B
Plaintext
16 lines
779 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method main() → dynamic {}
|
|
static method test<X extends Null, Y extends Never?, Z extends Never>() → dynamic {
|
|
(Null) → core::int f = (core::Object? x) → core::int => 1;
|
|
(Never) → core::int g = (core::Object? x) → core::int => 1;
|
|
(Never?) → core::int h = (core::Object? x) → core::int => 1;
|
|
(core::String) → core::int i = (core::String x) → core::int => 1;
|
|
(self::test::X%) → core::int j = (core::Object? x) → core::int => 1;
|
|
(self::test::Y%) → core::int k = (core::Object? x) → core::int => 1;
|
|
(self::test::Z) → core::int l = (core::Object? x) → core::int => 1;
|
|
(self::test::Z?) → core::int m = (core::Object? x) → core::int => 1;
|
|
}
|