blob: 56348a94b665c86cc61fc9c376b544ab820dc0b4 [file] [log] [blame]
library test;
//
// Problems in library:
//
// pkg/front_end/testcases/inference/unsafe_block_closure_inference_function_call_explicit_dynamic_param_via_expr1.dart:9:11: Error: This requires the 'constructor-tearoffs' language feature to be enabled.
// Try updating your pubspec.yaml to set the minimum SDK constraint to 2.14 or higher, and running 'pub get'.
// var v = (f<dynamic>)/*@typeArgs=int**/(/*@returnType=int**/() {
// ^
//
import self as self;
import "dart:core" as core;
static field core::List<core::int*>* v = (#C1)<core::int*>(() core::int* {
return 1;
}){(() →* core::int*) →* core::List<core::int*>*};
static method f<T extends core::Object* = dynamic>(() →* self::f::T* g) core::List<self::f::T*>*
return core::_GrowableList::_literal1<self::f::T*>(g(){() →* self::f::T*});
static method main() dynamic {}
constants {
#C1 = static-tearoff self::f
}