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)); |