Index: sdk/lib/_internal/compiler/implementation/scanner/listener.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/listener.dart b/sdk/lib/_internal/compiler/implementation/scanner/listener.dart |
index 889590cfc640fe4564ad2ce9d93ae4a385e0e777..5ee68c2747cace5452630c430dc89908d3478fe5 100644 |
--- a/sdk/lib/_internal/compiler/implementation/scanner/listener.dart |
+++ b/sdk/lib/_internal/compiler/implementation/scanner/listener.dart |
@@ -2184,7 +2184,7 @@ class PartialFieldList extends VariableList { |
if (node.type != null) { |
type = compiler.resolver.resolveTypeAnnotation(element, node.type); |
} else { |
- type = compiler.types.dynamicType; |
+ type = const DynamicType(); |
} |
}); |
assert(type != null); |