blob: b313f58bb48d55a34522e011aab4bcfdc87c5f6c [file] [log] [blame]
library;
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;
}