Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: pkg/analyzer/test/generated/parser_test.dart

Issue 2821483003: Revert "Fix more parser bugs" (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/parser.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/parser_test.dart
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
index 77e41553b7bb3699b5ec59159fa6b37dd2e2c1d2..fd703ebbfab8b25a985481be22278db8a11ed1c1 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -11349,15 +11349,6 @@ Function(int, String) v;
}
void
- test_parseNonLabeledStatement_variableDeclaration_gftType_functionReturnType() {
- createParser(
- 'Function Function(int x1, {Function x}) Function<B extends core.int>(int x) l771;');
- Statement statement = parser.parseNonLabeledStatement();
- expectNotNullIfNoErrors(statement);
- listener.assertNoErrors();
- }
-
- void
test_parseNonLabeledStatement_variableDeclaration_gftType_gftReturnType() {
createParser('Function(int) Function(int) v;');
Statement statement = parser.parseNonLabeledStatement();
@@ -11366,14 +11357,6 @@ Function(int, String) v;
}
void
- test_parseNonLabeledStatement_variableDeclaration_gftType_gftReturnType2() {
- createParser('int Function(int) Function(int) v;');
- Statement statement = parser.parseNonLabeledStatement();
- expectNotNullIfNoErrors(statement);
- listener.assertNoErrors();
- }
-
- void
test_parseNonLabeledStatement_variableDeclaration_gftType_noReturnType() {
createParser('Function(int) v;');
Statement statement = parser.parseNonLabeledStatement();
@@ -11388,14 +11371,6 @@ Function(int, String) v;
listener.assertNoErrors();
}
- void
- test_parseNonLabeledStatement_variableDeclaration_gftType_voidReturnType() {
- createParser('void Function() v;');
- Statement statement = parser.parseNonLabeledStatement();
- expectNotNullIfNoErrors(statement);
- listener.assertNoErrors();
- }
-
void test_parseOptionalReturnType() {
// TODO(brianwilkerson) Implement tests for this method.
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/parser.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698