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

Unified Diff: test/codegen/expect/covariance.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: 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/covariance.js
diff --git a/test/codegen/expect/covariance.js b/test/codegen/expect/covariance.js
index 8b2a823d1787fc6cf21548ef99af33ec6764d5ae..356afd7b0fb79a8be03a73c37563ba35f2412190 100644
--- a/test/codegen/expect/covariance.js
+++ b/test/codegen/expect/covariance.js
@@ -34,8 +34,8 @@ dart_library.library('covariance', null, /* Imports */[
super.Foo();
}
add(x) {
- core.print(`Bar.add got ${x}`);
- super.add(x);
+ dart.dcall(core.print, `Bar.add got ${x}`);
+ dart.dcall(super.add, x);
}
}
dart.setSignature(Bar, {
@@ -43,7 +43,7 @@ dart_library.library('covariance', null, /* Imports */[
});
function main() {
let foo = new Bar();
- foo.add('hi');
+ dart.dcall(foo.add, 'hi');
}
dart.fn(main);
// Exports:

Powered by Google App Engine
This is Rietveld 408576698