Index: pkg/dev_compiler/test/codegen_expected/varargs.js |
diff --git a/pkg/dev_compiler/test/codegen_expected/varargs.js b/pkg/dev_compiler/test/codegen_expected/varargs.js |
index 59349e17e66b8f015ddf256c19c1b86a7396f0e8..0d5a687cc7c8186a847e133a674356db8a33fcbb 100644 |
--- a/pkg/dev_compiler/test/codegen_expected/varargs.js |
+++ b/pkg/dev_compiler/test/codegen_expected/varargs.js |
@@ -5,8 +5,8 @@ define(['dart_sdk'], function(dart_sdk) { |
const dartx = dart_sdk.dartx; |
const varargs = Object.create(null); |
const src__varargs = Object.create(null); |
- let dynamicAnddynamicTodynamic = () => (dynamicAnddynamicTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic, dart.dynamic])))(); |
- let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic])))(); |
+ let dynamicAnddynamicTodynamic = () => (dynamicAnddynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])))(); |
+ let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic])))(); |
varargs.varargsTest = function(x, ...others) { |
let args = [1, others]; |
dart.dcall(x, ...args); |