| Index: pkg/compiler/lib/src/ssa/types.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/types.dart b/pkg/compiler/lib/src/ssa/types.dart
|
| index c7f2475ed1c69801026eec5cdf65dafbd0dc1649..d973ef68d195937f62f1d986834dde45122bce52 100644
|
| --- a/pkg/compiler/lib/src/ssa/types.dart
|
| +++ b/pkg/compiler/lib/src/ssa/types.dart
|
| @@ -51,6 +51,7 @@ class TypeMaskFactory {
|
| }
|
|
|
| if (type.isVoid) return commonMasks.nullType;
|
| + if (type.isDynamic) return commonMasks.dynamicType;
|
| if (type.element == commonElements.nullClass) return commonMasks.nullType;
|
| if (type.treatAsDynamic) return commonMasks.dynamicType;
|
| return new TypeMask.nonNullSubtype(type.element, closedWorld);
|
|
|