Index: sdk/lib/_internal/compiler/implementation/ssa/types.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/types.dart b/sdk/lib/_internal/compiler/implementation/ssa/types.dart |
index fd8d66058ae0b8dee096e862189c13abd526d705..659737c1f437324df21333fd9b0a2d7fb65bd31c 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/types.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/types.dart |
@@ -129,7 +129,7 @@ abstract class HType { |
return HType.NULL; |
} else if (type.element == compiler.nullClass) { |
return HType.NULL; |
- } else if (type.isDynamic) { |
+ } else if (type.treatAsDynamic) { |
return HType.UNKNOWN; |
} else if (compiler.world.hasAnySubtype(type.element)) { |
return new HType.nonNullSubtype(type, compiler); |