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

Unified Diff: dart/frog/leg/tree/unparser.dart

Issue 9109015: AST nodes for function-typed parameters. (Closed) Base URL: ssh://aaricia.aar/home/ahe/Dart/all/dart.googlecode.com.git@master
Patch Set: rebased Created 8 years, 11 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 | « dart/frog/leg/tree/nodes.dart ('k') | dart/tests/language/language-leg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/tree/unparser.dart
diff --git a/dart/frog/leg/tree/unparser.dart b/dart/frog/leg/tree/unparser.dart
index 77cecc78019fabd5c70dad12de4251c81a5355ff..6323f0257a1733d0acdb036d912feb8cdb52ca48 100644
--- a/dart/frog/leg/tree/unparser.dart
+++ b/dart/frog/leg/tree/unparser.dart
@@ -152,7 +152,7 @@ class Unparser implements Visitor {
sb.add(' ');
visit(node.expression);
}
- add(node.endToken.value);
+ if (node.endToken !== null) add(node.endToken.value);
}
« no previous file with comments | « dart/frog/leg/tree/nodes.dart ('k') | dart/tests/language/language-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698