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 9e4c95e9fb93b395ce4e84962e84b83240e8ce22..3c29d53801701a35b290d5757e094517f2039ae5 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -619,7 +619,7 @@ class JavaScriptBackend extends Backend { |
assert(invariant(element, element.isDeclaration, message: "")); |
if (element == helpers.streamIteratorConstructor || |
element == helpers.compiler.symbolConstructor || |
- element == helpers.compiler.symbolValidatedConstructor || |
+ helpers.isSymbolValidatedConstructor(element) || |
element == helpers.syncCompleterConstructor || |
element == coreClasses.symbolClass || |
element == helpers.objectNoSuchMethod) { |