File tree 1 file changed +4
-6
lines changed
pkg/analyzer/test/src/task/strong
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -4035,10 +4035,9 @@ var v = f<dynamic>(() { return 1; });
4035
4035
_assertTypeStr (v.type, 'List<dynamic>' );
4036
4036
}
4037
4037
4038
- @failingTest
4038
+ @FailingTest (issue : 'https://github.com/dart-lang/sdk/issues/25824' )
4039
4039
test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaExpr1 () async {
4040
- // Note: (f<dynamic>) is not properly resulting in an instantiated
4041
- // function type due to dartbug.com/25824.
4040
+ // Note: (f<dynamic>) is not a valid syntax.
4042
4041
var mainUnit = await checkFileElement ('''
4043
4042
List<T> f<T>(T g()) => <T>[g()];
4044
4043
var v = (f<dynamic>)(() { return 1; });
@@ -4068,10 +4067,9 @@ var v = f<int>(() { return 1; });
4068
4067
_assertTypeStr (v.type, 'List<int>' );
4069
4068
}
4070
4069
4071
- @failingTest
4070
+ @FailingTest (issue : 'https://github.com/dart-lang/sdk/issues/25824' )
4072
4071
test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr1 () async {
4073
- // TODO(paulberry): for some reason (f<int>) is not properly resulting
4074
- // in an instantiated function type.
4072
+ // Note: (f<int>) is not a valid syntax.
4075
4073
var mainUnit = await checkFileElement ('''
4076
4074
List<T> f<T>(T g()) => <T>[g()];
4077
4075
var v = (f<int>)(() { return 1; });
You can’t perform that action at this time.
0 commit comments