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 bac31b1becdca220c2ea06de025557aa5856e2e1..4c737a927255f1cc894d447407731a12046f7219 100644 |
--- a/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart |
+++ b/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart |
@@ -339,10 +339,10 @@ class ResolvedAstDeserializer { |
DeserializerPlugin nativeDataDeserializer) { |
CompilationUnitElement compilationUnit = element.compilationUnit; |
DiagnosticReporter reporter = parsing.reporter; |
+ Uri uri = objectDecoder.getUri(Key.URI); |
/// Returns the first [Token] for parsing the [Node] for [element]. |
Token readBeginToken() { |
- Uri uri = objectDecoder.getUri(Key.URI); |
int charOffset = objectDecoder.getInt(Key.OFFSET); |
Token beginToken = getBeginToken(uri, charOffset); |
if (beginToken == null) { |
@@ -625,6 +625,6 @@ class ResolvedAstDeserializer { |
} |
} |
} |
- return new ParsedResolvedAst(element, root, body, elements); |
+ return new ParsedResolvedAst(element, root, body, elements, uri); |
} |
} |