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

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

Issue 1195523002: Handle dynamic as bottom inside of function type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Fix typo in comment Created 5 years, 6 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/fieldtest.js ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/functions.js
diff --git a/test/codegen/expect/functions.js b/test/codegen/expect/functions.js
index 2aa52b8d1aa4c3f1a17b750c4c600c62175f4dc9..97b7b59024cc895fb114e8b7361e904b7b70923d 100644
--- a/test/codegen/expect/functions.js
+++ b/test/codegen/expect/functions.js
@@ -8,7 +8,7 @@ dart_library.library('functions', null, /* Imports */[
function bootstrap() {
return dart.list([new Foo()], Foo);
}
- dart.fn(bootstrap, () => dart.functionType(core.List$(Foo), []));
+ dart.fn(bootstrap, () => dart.definiteFunctionType(core.List$(Foo), []));
let A2B$ = dart.generic(function(A, B) {
let A2B = dart.typedef('A2B', () => dart.functionType(B, [A]));
return A2B;
@@ -17,7 +17,7 @@ dart_library.library('functions', null, /* Imports */[
function id(f) {
return f;
}
- dart.fn(id, () => dart.functionType(A2B$(Foo, Foo), [A2B$(Foo, Foo)]));
+ dart.fn(id, () => dart.definiteFunctionType(A2B$(Foo, Foo), [A2B$(Foo, Foo)]));
class Foo extends core.Object {}
function main() {
core.print(bootstrap()[dartx.get](0));
« no previous file with comments | « test/codegen/expect/fieldtest.js ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698