Index: pkg/analyzer/lib/src/generated/parser.dart |
diff --git a/pkg/analyzer/lib/src/generated/parser.dart b/pkg/analyzer/lib/src/generated/parser.dart |
index 64aa175f734e3855fd87a69cb5cf48acd896c4c0..839cf77b2fd6cb27c71a4166c7b41acbc7914bb2 100644 |
--- a/pkg/analyzer/lib/src/generated/parser.dart |
+++ b/pkg/analyzer/lib/src/generated/parser.dart |
@@ -2094,8 +2094,8 @@ class Parser { |
return astFactory.topLevelVariableDeclaration( |
commentAndMetadata.comment, |
commentAndMetadata.metadata, |
- parseVariableDeclarationListAfterType( |
- null, _validateModifiersForTopLevelVariable(modifiers), null), |
+ parseVariableDeclarationListAfterType(null, |
+ _validateModifiersForTopLevelVariable(modifiers), returnType), |
_expect(TokenType.SEMICOLON)); |
} else { |
// |