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

Unified Diff: test/codegen/expect/constructors.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/constructors.js
diff --git a/test/codegen/expect/constructors.js b/test/codegen/expect/constructors.js
index c6c7cf5b4f98ae3f96df8fbfd40d7d496995af72..6962d736b0b66d7970092517ffc6c9dbc257302e 100644
--- a/test/codegen/expect/constructors.js
+++ b/test/codegen/expect/constructors.js
@@ -170,7 +170,7 @@ dart_library.library('constructors', null, /* Imports */[
return new (Q$())("hello");
}
bar() {
- let q = Q$().foo();
+ let q = dart.dcall(Q$().foo);
return dart.as(q.x, core.String);
}
bar2() {
@@ -179,7 +179,7 @@ dart_library.library('constructors', null, /* Imports */[
}
static baz() {
let q = new (Q$(core.int))(42);
- return dart.notNull(q.bar()) + dart.notNull(q.bar2());
+ return dart.notNull(dart.dcall(q.bar)) + dart.notNull(dart.dcall(q.bar2));
}
}
dart.setSignature(Q, {

Powered by Google App Engine
This is Rietveld 408576698