blob: 601c8436fe7319eadefd82ce4f5fa6d0a7c1a90b [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
static method f<T extends core::Object? = dynamic>() self::f::T%
return throw "";
static method test() dynamic {
core::int v1 = self::f<core::int>();
core::int v2 = let final core::int #t1 = self::f<core::int>() in block {
#t1.{core::int::isEven}{core::bool};
} =>#t1;
core::int v3 = let final core::int #t2 = self::f<core::int>() in block {
#t2.{core::int::isEven}{core::bool};
#t2.{core::int::isEven}{core::bool};
} =>#t2;
}
static method main() dynamic {}