Index: sdk/lib/_internal/compiler/implementation/constants.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/constants.dart b/sdk/lib/_internal/compiler/implementation/constants.dart |
index 2aea6ffd5bc657c8fe689753db2b2a82a83334ec..d0b9d14ef82389ec80c70cc7a0611b7363bd6a71 100644 |
--- a/sdk/lib/_internal/compiler/implementation/constants.dart |
+++ b/sdk/lib/_internal/compiler/implementation/constants.dart |
@@ -544,7 +544,7 @@ class InterceptorConstant extends Constant { |
accept(ConstantVisitor visitor) => visitor.visitInterceptor(this); |
- DartType computeType(Compiler compiler) => compiler.types.dynamicType; |
+ DartType computeType(Compiler compiler) => const DynamicType(); |
ti.TypeMask computeMask(Compiler compiler) { |
return compiler.typesTask.nonNullType; |
@@ -573,7 +573,7 @@ class DummyConstant extends Constant { |
accept(ConstantVisitor visitor) => visitor.visitDummy(this); |
- DartType computeType(Compiler compiler) => compiler.types.dynamicType; |
+ DartType computeType(Compiler compiler) => const DynamicType(); |
ti.TypeMask computeMask(Compiler compiler) => typeMask; |