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

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

Issue 1142293002: Use dart.tearoff helper at tearoff sites (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Clean up conditional Created 5 years, 7 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 b379e950dff2a0a3f888de2336b2a4d31401ba6a..e02c256c9e2e0e110f3878ffd373528da1ac3e4f 100644
--- a/test/codegen/expect/methods.js
+++ b/test/codegen/expect/methods.js
@@ -70,7 +70,7 @@ var core = dart.import(core);
let f = new Foo();
dart.dcall(f.bar, "Bar's call method!");
let a = new A();
- let g = a.x.bind(a);
+ let g = dart.tearoff(a, 'x');
let aa = new A();
let h = dart.dload(aa, 'x');
}

Powered by Google App Engine
This is Rietveld 408576698