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

Unified Diff: test/codegen/expect/misc.js

Issue 1641643004: Roll analyzer to 0.27.2-alpha.1 (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rerun tests and format Created 4 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 | « test/codegen/expect/language-all.js ('k') | test/codegen/expect/unittest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/misc.js
diff --git a/test/codegen/expect/misc.js b/test/codegen/expect/misc.js
index 417191ea66ace944b1d1f4a1b8678978b48ef6a4..6dbb5df9222dbb242f4f18a08e6f87df4fa4d7d6 100644
--- a/test/codegen/expect/misc.js
+++ b/test/codegen/expect/misc.js
@@ -28,7 +28,7 @@ dart_library.library('misc', null, /* Imports */[
this.y = 2;
}
['=='](obj) {
- return dart.is(obj, Base) && dart.equals(dart.dload(obj, 'x'), this.x) && dart.equals(dart.dload(obj, 'y'), this.y);
+ return dart.is(obj, Base) && obj.x == this.x && obj.y == this.y;
}
}
class Derived extends core.Object {
@@ -36,7 +36,7 @@ dart_library.library('misc', null, /* Imports */[
this.z = 3;
}
['=='](obj) {
- return dart.is(obj, Derived) && dart.equals(dart.dload(obj, 'z'), this.z) && super['=='](obj);
+ return dart.is(obj, Derived) && obj.z == this.z && super['=='](obj);
}
}
function _isWhitespace(ch) {
« no previous file with comments | « test/codegen/expect/language-all.js ('k') | test/codegen/expect/unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698