| Index: pkg/compiler/lib/src/world.dart
|
| diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
|
| index 47fe973ad1106d22785484477ce53b616e8df975..afbaef4702e5790aa0029646b819c0b8acc2b404 100644
|
| --- a/pkg/compiler/lib/src/world.dart
|
| +++ b/pkg/compiler/lib/src/world.dart
|
| @@ -717,7 +717,7 @@ class ClosedWorldImpl implements ClosedWorld, ClosedWorldRefiner {
|
| ClassElement getLubOfInstantiatedSubclasses(ClassElement cls) {
|
| assert(isClosed);
|
| if (nativeData.isJsInteropClass(cls)) {
|
| - return _backend.helpers.jsJavaScriptObjectClass;
|
| + return commonElements.jsJavaScriptObjectClass;
|
| }
|
| ClassHierarchyNode hierarchy = _classHierarchyNodes[cls.declaration];
|
| return hierarchy != null
|
| @@ -729,7 +729,7 @@ class ClosedWorldImpl implements ClosedWorld, ClosedWorldRefiner {
|
| ClassElement getLubOfInstantiatedSubtypes(ClassElement cls) {
|
| assert(isClosed);
|
| if (nativeData.isJsInteropClass(cls)) {
|
| - return _backend.helpers.jsJavaScriptObjectClass;
|
| + return commonElements.jsJavaScriptObjectClass;
|
| }
|
| ClassSet classSet = _classSets[cls.declaration];
|
| return classSet != null ? classSet.getLubOfInstantiatedSubtypes() : null;
|
|
|