Index: pkg/analyzer/test/generated/parser_fasta_test.dart |
diff --git a/pkg/analyzer/test/generated/parser_fasta_test.dart b/pkg/analyzer/test/generated/parser_fasta_test.dart |
index 70e5ed080255cd3d2ac6a4fa393725a2ba1f6dc2..32364691a45c9a8d5c7f47ae69d235f8a984afb2 100644 |
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart |
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart |
@@ -465,8 +465,11 @@ class FastaParserTestCase extends Object |
return _runParser( |
code, |
(parser) => (analyzer.Token token) { |
- return parser.parseFormalParameters(token, |
- inFunctionType: inFunctionType); |
+ return parser.parseFormalParameters( |
+ token, |
+ inFunctionType |
+ ? fasta.MemberKind.GeneralizedFunctionType |
+ : fasta.MemberKind.NonStaticMethod); |
}, |
errorCodes) as FormalParameterList; |
} |
@@ -931,13 +934,6 @@ class TopLevelParserTest_Fasta extends FastaParserTestCase |
@override |
@failingTest |
- void test_parseCompilationUnit_typedefAsPrefix() { |
- // TODO(paulberry): As of commit 5de9108 this syntax is invalid. |
- super.test_parseCompilationUnit_typedefAsPrefix(); |
- } |
- |
- @override |
- @failingTest |
void test_parseDirectives_mixed() { |
// TODO(paulberry,ahe): This test verifies the analyzer parser's ability to |
// stop parsing as soon as the first non-directive is encountered; this is |