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

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

Issue 1083763003: refactor emitMemberName to be used more consistently (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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: test/codegen/expect/cascade.js
diff --git a/test/codegen/expect/cascade.js b/test/codegen/expect/cascade.js
index dffaf904ec2bcd8409a6db89c3f1cacee6c6d4a6..97bdf1eefb46de54e114d384f6a4fbbb9d2497aa 100644
--- a/test/codegen/expect/cascade.js
+++ b/test/codegen/expect/cascade.js
@@ -14,8 +14,8 @@ var cascade;
a = null;
};
let _ = a;
- dart.dinvoke(_, 'x');
- dart.dinvoke(_, 'x');
+ dart.dsend(_, 'x');
+ dart.dsend(_, 'x');
core.print(a);
}
// Function test_closure_without_mutate: () → void
@@ -24,8 +24,8 @@ var cascade;
a.x = () => {
core.print(a);
};
- dart.dinvoke(a, 'x');
- dart.dinvoke(a, 'x');
+ dart.dsend(a, 'x');
+ dart.dsend(a, 'x');
core.print(a);
}
// Function test_mutate_inside_cascade: () → void
@@ -77,8 +77,8 @@ var cascade;
function test_increment() {
let a = new A();
let y = ((() => {
- a.x = dart.dbinary(a.x, '+', 1);
- a.x = dart.dbinary(a.x, '-', 1);
+ a.x = dart.dsend(a.x, '+', 1);
+ a.x = dart.dsend(a.x, '-', 1);
return a;
})());
}

Powered by Google App Engine
This is Rietveld 408576698