File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -369,9 +369,11 @@ ForInLoopNotAssignable/part_wrapped_statement: Fail
369369ForInLoopNotAssignable/statement: Fail
370370ForInLoopTypeNotIterablePartNullability/example: Fail # Cannot occur but needed for symmetry with ForInLoopTypeNotIterableNullability
371371ForInLoopWithConstVariable/example: Fail
372+ FunctionAsTypeParameter/analyzerCode: Fail
372373FunctionTypeDefaultValue/example: Fail
373374FunctionTypedParameterVar/part_wrapped_script1: Fail
374375FunctionTypedParameterVar/script1: Fail
376+ FunctionUsedAsDec/analyzerCode: Fail
375377GeneratorReturnsValue/example: Fail
376378GetterNotFound/example: Fail
377379GetterWithFormals/example: Fail
Original file line number Diff line number Diff line change @@ -1799,9 +1799,17 @@ NotAPrefixInTypeAnnotation:
17991799
18001800FunctionUsedAsDec :
18011801 template : " 'Function' is a built-in identifier, could not used as a #name name."
1802+ script :
1803+ - class Function {}
1804+ - extension Function on int {}
1805+ - mixin Function {}
18021806
18031807FunctionAsTypeParameter :
18041808 template : " 'Function' is a built-in identifier, could not used as a type identifier."
1809+ script :
1810+ - class C<Function> {}
1811+ - mixin A<Function> {}
1812+ - extension A<Function> on List<Function> {}
18051813
18061814UnresolvedPrefixInTypeAnnotation :
18071815 template : " '#name.#name2' can't be used as a type because '#name' isn't defined."
You can’t perform that action at this time.
0 commit comments