Index: pkg/compiler/lib/src/js_backend/backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart |
index 625abbda4c0747a1e571d4e6794fc8f003ea3ec9..20c42fa2506c932e49576acfcda265e272359ee4 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -4,8 +4,6 @@ |
library js_backend.backend; |
-import 'dart:async' show Future; |
- |
import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; |
import '../common.dart'; |
@@ -986,6 +984,7 @@ class JavaScriptBackend { |
return const CodegenImpact(); |
} |
if (kind.category == ElementCategory.VARIABLE) { |
+ // ignore: INVALID_ASSIGNMENT |
VariableElement variableElement = element; |
ConstantExpression constant = variableElement.constant; |
if (constant != null) { |