blob: bfb45dd06ee442ab0bc4b4a2b50570ec209b8534 [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
static method main() dynamic {
function f<T extends core::Object? = dynamic>(core::List<T%> l) T%
return l.{core::List::[]}(0){(core::int) T%};
core::int x = f<core::int>(<core::int>[0]){(core::List<core::int>) core::int};
}