blob: dd9a2c60e25c1e54b9a3d2446f996be559775020 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
static field dynamic v = self::f.<(core::int);
static const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_explicit_type_param_via_expr2.dart:10:12: Error: Expected ';' before this.\n (f)<int>(/*info:INFERRED_TYPE_CLOSURE*/ /*@returnType=int*/ () {\n ^"]/* from null */;
static method f<T extends core::Object>(() self::f::T g) core::List<self::f::T>
return <self::f::T>[g.call()];
static method main() dynamic {
self::v;
}