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

Unified Diff: lib/src/codegen/js_codegen.dart

Issue 977963002: make unimplemented statements throw (Closed) Base URL: git@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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/js_codegen.dart
diff --git a/lib/src/codegen/js_codegen.dart b/lib/src/codegen/js_codegen.dart
index ecb00fb6fcb233249ac0d39854661b0ca9eabad3..c4cdd86025af058b033a2deba299798d83d5c987 100644
--- a/lib/src/codegen/js_codegen.dart
+++ b/lib/src/codegen/js_codegen.dart
@@ -1654,14 +1654,6 @@ class JSCodegenVisitor extends GeneralizingAstVisitor with ConversionVisitor {
visitBooleanLiteral(BooleanLiteral node) => js.boolean(node.value);
@override
- JS.Statement visitDeclaration(Declaration node) =>
- js.comment('Unimplemented ${node.runtimeType}: $node');
-
- @override
- JS.Statement visitStatement(Statement node) =>
- js.comment('Unimplemented ${node.runtimeType}: $node');
-
- @override
JS.Expression visitExpression(Expression node) =>
_unimplementedCall('Unimplemented ${node.runtimeType}: $node');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698