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

Unified Diff: test/browser/runtime_tests.js

Issue 1926283002: implement generic method runtime behavior, fixes #301 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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 | « lib/src/compiler/compiler.dart ('k') | test/codegen/expect/closure.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/browser/runtime_tests.js
diff --git a/test/browser/runtime_tests.js b/test/browser/runtime_tests.js
index e69689486d27353d2e20bb4d6ebb635c1bdf9f26..6a1394d1b794c1f4448bb987e9d9e0ad4aaeb99b 100644
--- a/test/browser/runtime_tests.js
+++ b/test/browser/runtime_tests.js
@@ -608,8 +608,7 @@ suite('instanceOf', () => {
// Set the type lazily
function ss2s(x, y) {return x};
var coreString;
- dart.fn(ss2s, () => dart.functionType(coreString,
- [coreString, coreString]));
+ dart.lazyFn(ss2s, () => [coreString, [coreString, coreString]]);
coreString = core.String;
checkType(ss2s, dart.functionType(core.String,
[core.String, core.String]));
« no previous file with comments | « lib/src/compiler/compiler.dart ('k') | test/codegen/expect/closure.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698