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

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

Issue 1752193002: Add a few more known non-null cases (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « test/codegen/expect/language-all.js ('k') | test/codegen/expect/notnull.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/methods.js
diff --git a/test/codegen/expect/methods.js b/test/codegen/expect/methods.js
index 836d8fcd58f54b3b3751ad5cf677edad98bf57fe..4f429dfc4d698fea90ff8ad3bf86b4a27c724f9d 100644
--- a/test/codegen/expect/methods.js
+++ b/test/codegen/expect/methods.js
@@ -83,8 +83,8 @@ dart_library.library('methods', null, /* Imports */[
let g = dart.bind(a, 'x');
let aa = new A();
let h = dart.dload(aa, 'x');
- let ts = dart.fn(dart.toString.bind(a), core.String, []);
- let nsm = dart.fn(dart.noSuchMethod.bind(a), dart.dynamic, [core.Invocation]);
+ let ts = dart.bind(a, 'toString');
+ let nsm = dart.bind(a, 'noSuchMethod');
let c = dart.bind("", dartx.padLeft);
let r = dart.bind(3.0, dartx.floor);
}
« no previous file with comments | « test/codegen/expect/language-all.js ('k') | test/codegen/expect/notnull.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698