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

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

Issue 963063003: DDC fixes on DDC (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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/codegen/js_codegen.dart ('k') | lib/src/js/template.dart » ('j') | 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 bbb6dc466039ae7c88630e596585e0dbb0e98af8..926ba1fe96535ca1a151202cc834fb949fe032f1 100644
--- a/lib/src/js/printer.dart
+++ b/lib/src/js/printer.dart
@@ -1285,7 +1285,7 @@ class DanglingElseVisitor extends BaseVisitor<bool> {
bool visitProgram(Program node) => false;
- bool visitNode(Statement node) {
+ bool visitNode(Node node) {
context.error("Forgot node: $node");
return null;
}
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | lib/src/js/template.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698