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 fd703ebbfab8b25a985481be22278db8a11ed1c1..77e41553b7bb3699b5ec59159fa6b37dd2e2c1d2 100644 |
--- a/pkg/analyzer/test/generated/parser_test.dart |
+++ b/pkg/analyzer/test/generated/parser_test.dart |
@@ -11349,6 +11349,15 @@ 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(); |
@@ -11357,6 +11366,14 @@ 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(); |
@@ -11371,6 +11388,14 @@ 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. |
} |