| Index: pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart
|
| diff --git a/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart b/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart
|
| index 03d6a9161826ce296b2005875eabf1611aac9825..85044fb3cf3f052e9d639ba70faeade20327b3b7 100644
|
| --- a/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart
|
| +++ b/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart
|
| @@ -237,7 +237,7 @@ class ResolvedAstSerializer extends Visitor {
|
| serializeElementReference(element, Key.ELEMENT, Key.NAME,
|
| getNodeDataEncoder(node), nodeElement);
|
| }
|
| - DartType type = elements.getType(node);
|
| + ResolutionDartType type = elements.getType(node);
|
| if (type != null) {
|
| getNodeDataEncoder(node).setType(Key.TYPE, type);
|
| }
|
| @@ -250,7 +250,7 @@ class ResolvedAstSerializer extends Visitor {
|
| if (constant != null) {
|
| getNodeDataEncoder(node).setConstant(Key.CONSTANT, constant);
|
| }
|
| - DartType cachedType = elements.typesCache[node];
|
| + ResolutionDartType cachedType = elements.typesCache[node];
|
| if (cachedType != null) {
|
| getNodeDataEncoder(node).setType(Key.CACHED_TYPE, cachedType);
|
| }
|
| @@ -606,7 +606,8 @@ class ResolvedAstDeserializer {
|
| if (nodeElement != null) {
|
| elements[node] = nodeElement;
|
| }
|
| - DartType type = objectDecoder.getType(Key.TYPE, isOptional: true);
|
| + ResolutionDartType type =
|
| + objectDecoder.getType(Key.TYPE, isOptional: true);
|
| if (type != null) {
|
| elements.setType(node, type);
|
| }
|
| @@ -620,7 +621,7 @@ class ResolvedAstDeserializer {
|
| if (constant != null) {
|
| elements.setConstant(node, constant);
|
| }
|
| - DartType cachedType =
|
| + ResolutionDartType cachedType =
|
| objectDecoder.getType(Key.CACHED_TYPE, isOptional: true);
|
| if (cachedType != null) {
|
| elements.typesCache[node] = cachedType;
|
|
|