Index: sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart b/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
index 62a92252c8c98f803b157cc9fbcfe6df64a72820..5bae1d7211ee68d8457d98f2c1899083ff771ee5 100644 |
--- a/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
+++ b/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
@@ -95,7 +95,7 @@ abstract class TypeInformation { |
callers[caller]--; |
} |
} |
- |
+ |
void addAssignment(Node node, TypeMask mask) { |
assignments[node] = mask; |
} |
@@ -997,7 +997,7 @@ class InternalSimpleTypesInferrer |
if (isNativeElement(element) && element.isField()) { |
if (type == null) { |
InterfaceType rawType = element.computeType(compiler).asRaw(); |
- info.type = type = rawType.isDynamic |
+ info.type = type = rawType.treatAsDynamic |
? types.dynamicType |
: new TypeMask.subtype(rawType); |
} |