Index: pkg/dev_compiler/test/codegen_expected/script.js |
diff --git a/pkg/dev_compiler/test/codegen_expected/script.js b/pkg/dev_compiler/test/codegen_expected/script.js |
index 95dd30e55042d625c67676562b314485662a93e4..2b8cfec37d2ccab6f9c2ef5f4cfd91d4baa20a13 100644 |
--- a/pkg/dev_compiler/test/codegen_expected/script.js |
+++ b/pkg/dev_compiler/test/codegen_expected/script.js |
@@ -5,7 +5,7 @@ define(['dart_sdk'], function(dart_sdk) { |
const dartx = dart_sdk.dartx; |
const script = Object.create(null); |
let ListOfString = () => (ListOfString = dart.constFn(core.List$(core.String)))(); |
- let ListOfStringTovoid = () => (ListOfStringTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [ListOfString()])))(); |
+ let ListOfStringTovoid = () => (ListOfStringTovoid = dart.constFn(dart.fnType(dart.void, [ListOfString()])))(); |
script.main = function(args) { |
let name = args[dartx.join](' '); |
if (name == '') name = 'world'; |