Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(884)

Unified Diff: pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart

Issue 2603263002: Prefix resolution_types with Resolution. (Closed)
Patch Set: Rebased Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « pkg/compiler/lib/src/serialization/modelz.dart ('k') | pkg/compiler/lib/src/serialization/serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698