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

Unified Diff: sdk/lib/_internal/compiler/implementation/tree/nodes.dart

Issue 24211003: Let the inferrer know that lazy variables can also be null incase their initializer throws. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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
Index: sdk/lib/_internal/compiler/implementation/tree/nodes.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/tree/nodes.dart (revision 27658)
+++ sdk/lib/_internal/compiler/implementation/tree/nodes.dart (working copy)
@@ -174,6 +174,7 @@
Modifiers asModifiers() => null;
NamedArgument asNamedArgument() => null;
NamedMixinApplication asNamedMixinApplication() => null;
+ NewExpression asNewExpression() => null;
NodeList asNodeList() => null;
Operator asOperator() => null;
ParenthesizedExpression asParenthesizedExpression() => null;
@@ -473,6 +474,8 @@
NewExpression([this.newToken, this.send]);
+ NewExpression asNewExpression() => this;
+
accept(Visitor visitor) => visitor.visitNewExpression(this);
visitChildren(Visitor visitor) {

Powered by Google App Engine
This is Rietveld 408576698