Index: pkg/compiler/lib/src/js_backend/constant_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_backend/constant_emitter.dart b/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
index e88d927fdb8f4c819941282cc2f2106576f21723..fc53cb4158aece420c3232b6661dbebe9d90fc77 100644 |
--- a/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
+++ b/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
@@ -64,11 +64,6 @@ class ConstantEmitter implements ConstantValueVisitor<jsAst.Expression, Null> { |
return new jsAst.LiteralNull(); |
} |
- @override |
- jsAst.Expression visitNonConstant(NonConstantValue constant, [_]) { |
- return new jsAst.LiteralNull(); |
- } |
- |
static final _exponentialRE = new RegExp('^' |
'\([-+]?\)' // 1: sign |
'\([0-9]+\)' // 2: leading digit(s) |