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

Unified Diff: lib/src/js/printer.dart

Issue 1160223006: Fix DDC errors on DDC (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: address comments Created 5 years, 7 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 | « lib/src/info.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/js/printer.dart
diff --git a/lib/src/js/printer.dart b/lib/src/js/printer.dart
index 0eb5ff8dd7f62f77a9eee5cf5a7fe56972413bc9..30288a7f211bcc3c322c22b4c46ca6cd9c5d429d 100644
--- a/lib/src/js/printer.dart
+++ b/lib/src/js/printer.dart
@@ -1266,7 +1266,7 @@ class DanglingElseVisitor extends BaseVisitor<bool> {
bool visitLabeledStatement(LabeledStatement node)
=> node.body.accept(this);
bool visitLiteralStatement(LiteralStatement node) => true;
- bool visitClassDeclaration(ClassDeclaration) => false;
+ bool visitClassDeclaration(ClassDeclaration node) => false;
bool visitExpression(Expression node) => false;
}
« no previous file with comments | « lib/src/info.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698