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

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

Issue 1700153002: Wrapperless dart:html and friends (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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: test/codegen/expect/opassign.js
diff --git a/test/codegen/expect/opassign.js b/test/codegen/expect/opassign.js
index cb638ce673af0a88a6860cc70756f619cfb45771..f0a92f9c9b69d1672a3343fddc58cacd87fc72af 100644
--- a/test/codegen/expect/opassign.js
+++ b/test/codegen/expect/opassign.js
@@ -31,10 +31,10 @@ dart_library.library('opassign', null, /* Imports */[
let f = dart.map([0, 40]);
core.print('should only call "index" 2 times:');
let i = exports.index;
- f.set(i, dart.dsend(f.get(i), '+', 1));
+ f[dartx.set](i, dart.dsend(f[dartx.get](i), '+', 1));
forcePostfix((() => {
- let i = exports.index, x = f.get(i);
- f.set(i, dart.dsend(x, '+', 1));
+ let i = exports.index, x = f[dartx.get](i);
+ f[dartx.set](i, dart.dsend(x, '+', 1));
return x;
})());
core.print('should only call "foo" 2 times:');
@@ -47,7 +47,7 @@ dart_library.library('opassign', null, /* Imports */[
})());
core.print('op assign test, should only call "index" twice:');
let i$ = exports.index;
- f.set(i$, dart.dsend(f.get(i$), '+', f.get(exports.index)));
+ f[dartx.set](i$, dart.dsend(f[dartx.get](i$), '+', f[dartx.get](exports.index)));
}
dart.fn(main);
function forcePostfix(x) {

Powered by Google App Engine
This is Rietveld 408576698