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

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

Issue 1355893003: Rewire DDC to use the analyzer task model (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Fix for identifiers Created 5 years, 3 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/methods.js
diff --git a/test/codegen/expect/methods.js b/test/codegen/expect/methods.js
index 52aae6fe9e2cca847c80286bda9c67d2ae9074a8..b30f739c2852c83b8d2f19f41ec2a797d6ae4464 100644
--- a/test/codegen/expect/methods.js
+++ b/test/codegen/expect/methods.js
@@ -35,7 +35,7 @@ dart_library.library('methods', null, /* Imports */[
return dart.notNull(a) + dart.notNull(b);
}
get a() {
- return this.x();
+ return dart.dcall(this.x);
}
set b(b) {}
get c() {
@@ -57,7 +57,7 @@ dart_library.library('methods', null, /* Imports */[
});
class Bar extends core.Object {
call(x) {
- return core.print(`hello from ${x}`);
+ return dart.dcall(core.print, `hello from ${x}`);
}
}
dart.setSignature(Bar, {

Powered by Google App Engine
This is Rietveld 408576698