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

Unified Diff: pkg/intl/lib/extract_messages.dart

Issue 109853003: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments. Created 7 years 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/test/generated/test_support.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/extract_messages.dart
diff --git a/pkg/intl/lib/extract_messages.dart b/pkg/intl/lib/extract_messages.dart
index e57574dc04878f6cf120a3b129dd7bbbe7b3ae18..b140dfb46218dd12edf930d3ee8474a2b2d415c2 100644
--- a/pkg/intl/lib/extract_messages.dart
+++ b/pkg/intl/lib/extract_messages.dart
@@ -147,7 +147,7 @@ class MessageFindingVisitor extends GeneralizingASTVisitor {
*/
void visitMethodDeclaration(MethodDeclaration node) {
parameters = node.parameters;
- if (parameters == null) parameters = new FormalParameterList();
+ if (parameters == null) parameters = new FormalParameterList(null, [], null, null, null);
name = node.name.name;
super.visitMethodDeclaration(node);
}
@@ -158,7 +158,7 @@ class MessageFindingVisitor extends GeneralizingASTVisitor {
*/
void visitFunctionDeclaration(FunctionDeclaration node) {
parameters = node.functionExpression.parameters;
- if (parameters == null) parameters = new FormalParameterList();
+ if (parameters == null) parameters = new FormalParameterList(null, [], null, null, null);
name = node.name.name;
super.visitFunctionDeclaration(node);
}
« no previous file with comments | « pkg/analyzer/test/generated/test_support.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698