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

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

Issue 1935933002: Fix source information positions for deserialized patched elements. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fixes Created 4 years, 8 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/equivalence.dart
diff --git a/pkg/compiler/lib/src/serialization/equivalence.dart b/pkg/compiler/lib/src/serialization/equivalence.dart
index 9b41db20fad43b44dd60d4d7550e2de3912fb6cb..969ef408d23cdb4b69b78e87b8ad5416fe3866e7 100644
--- a/pkg/compiler/lib/src/serialization/equivalence.dart
+++ b/pkg/compiler/lib/src/serialization/equivalence.dart
@@ -771,7 +771,9 @@ bool testResolvedAstEquivalence(
'node', resolvedAst1.node, resolvedAst2.node) &&
new NodeEquivalenceVisitor(strategy).testNodes(resolvedAst1, resolvedAst2,
'body', resolvedAst1.body, resolvedAst2.body) &&
- testTreeElementsEquivalence(resolvedAst1, resolvedAst2, strategy);
+ testTreeElementsEquivalence(resolvedAst1, resolvedAst2, strategy) &&
+ strategy.test(resolvedAst1, resolvedAst2, 'sourceUri',
+ resolvedAst1.sourceUri, resolvedAst2.sourceUri);
}
/// Tests the equivalence of the data stored in the [TreeElements] of
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/task.dart ('k') | pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698