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

Unified Diff: sdk/lib/_internal/compiler/implementation/scanner/listener.dart

Issue 422483002: Mix in [TreeElementMixin] only on nodes that need it. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 4 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/scanner/listener.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/listener.dart b/sdk/lib/_internal/compiler/implementation/scanner/listener.dart
index d884211aed05800a7643b55cde422556d0b5d2d9..22596d4ea39f08876fb9f940fd2bad4aa477a743 100644
--- a/sdk/lib/_internal/compiler/implementation/scanner/listener.dart
+++ b/sdk/lib/_internal/compiler/implementation/scanner/listener.dart
@@ -1571,7 +1571,7 @@ class NodeListener extends ElementListener {
void endRedirectingFactoryBody(Token beginToken,
Token endToken) {
- pushNode(new Return(beginToken, endToken, popNode()));
+ pushNode(new RedirectingFactoryBody(beginToken, endToken, popNode()));
}
void endReturnStatement(bool hasExpression,

Powered by Google App Engine
This is Rietveld 408576698