Index: pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
diff --git a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
index e345a7c3b08426259622eca124ecb7ea1e061602..8ddbb43069d68ebd7927f69c5604fbe4ac91bdc7 100644 |
--- a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
+++ b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
@@ -71,6 +71,9 @@ class CustomElementsAnalysis { |
if (!Elements.isNativeOrExtendsNative(classElement)) return; |
if (classElement.isMixinApplication) return; |
if (classElement.isAbstract) return; |
+ // JsInterop classes are opaque interfaces without a concrete |
+ // implementation. |
+ if (classElement.isJsInterop) return; |
joinFor(enqueuer).instantiatedClasses.add(classElement); |
} |