| Index: pkg/compiler/lib/src/types/masks.dart
|
| diff --git a/pkg/compiler/lib/src/types/masks.dart b/pkg/compiler/lib/src/types/masks.dart
|
| index ee12b6536adf7b68a175b226e1f71e55f55881ee..8b3700bd8ced4ce254865ab300ccb6dca4f831b3 100644
|
| --- a/pkg/compiler/lib/src/types/masks.dart
|
| +++ b/pkg/compiler/lib/src/types/masks.dart
|
| @@ -37,7 +37,7 @@ class CommonMasks {
|
| final Compiler compiler;
|
|
|
| CommonMasks(Compiler compiler)
|
| - : this.classWorld = compiler.world,
|
| + : this.classWorld = compiler.closedWorld,
|
| compiler = compiler;
|
|
|
| TypeMask _dynamicType;
|
| @@ -64,10 +64,10 @@ class CommonMasks {
|
| TypeMask _asyncStarStreamType;
|
|
|
| TypeMask get dynamicType => _dynamicType ??=
|
| - new TypeMask.subclass(classWorld.objectClass, classWorld);
|
| + new TypeMask.subclass(classWorld.coreClasses.objectClass, classWorld);
|
|
|
| - TypeMask get nonNullType => _nonNullType ??=
|
| - new TypeMask.nonNullSubclass(classWorld.objectClass, classWorld);
|
| + TypeMask get nonNullType => _nonNullType ??= new TypeMask.nonNullSubclass(
|
| + classWorld.coreClasses.objectClass, classWorld);
|
|
|
| TypeMask get intType => _intType ??= new TypeMask.nonNullSubclass(
|
| compiler.backend.intImplementation, classWorld);
|
|
|