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

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

Issue 2655843002: Make remaining dart2js unit tests pass. (Closed)
Patch Set: 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
« no previous file with comments | « pkg/compiler/lib/src/patch_parser.dart ('k') | tests/compiler/dart2js/parser_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f7643187393b396e975ce820390ec445ecfc7afa..c3909f14fdc7a9d8f6e06a4b92b9d2ffb51ec817 100644
--- a/pkg/compiler/lib/src/serialization/equivalence.dart
+++ b/pkg/compiler/lib/src/serialization/equivalence.dart
@@ -1367,7 +1367,10 @@ class NodeEquivalenceVisitor implements Visitor1<bool, Node> {
(Token t1, Token t2) {
if (t1 == t2) return true;
if (t1 == null || t2 == null) return false;
- return strategy.test(t1, t2, 'hashCode', t1.hashCode, t2.hashCode);
+ return
+ strategy.test(t1, t2, 'charOffset', t1.charOffset, t2.charOffset) &&
+ strategy.test(t1, t2, 'info', t1.info, t2.info) &&
+ strategy.test(t1, t2, 'value', t1.value, t2.value);
});
}
« no previous file with comments | « pkg/compiler/lib/src/patch_parser.dart ('k') | tests/compiler/dart2js/parser_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698