OLD | NEW |
(Empty) | |
| 1 dart_library.library('varargs', null, /* Imports */[ |
| 2 'dart_sdk' |
| 3 ], function load__varargs(exports, dart_sdk) { |
| 4 'use strict'; |
| 5 const core = dart_sdk.core; |
| 6 const dart = dart_sdk.dart; |
| 7 const dartx = dart_sdk.dartx; |
| 8 const varargs = Object.create(null); |
| 9 let dynamicAnddynamicTodynamic = () => (dynamicAnddynamicTodynamic = dart.cons
tFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic, dart.dynamic])))(); |
| 10 varargs.varargsTest = function(x, ...others) { |
| 11 let args = [1, others]; |
| 12 dart.dsend(x, 'call', ...args); |
| 13 }; |
| 14 dart.fn(varargs.varargsTest, dynamicAnddynamicTodynamic()); |
| 15 varargs.varargsTest2 = function(x, ...others) { |
| 16 let args = [1, others]; |
| 17 dart.dsend(x, 'call', ...args); |
| 18 }; |
| 19 dart.fn(varargs.varargsTest2, dynamicAnddynamicTodynamic()); |
| 20 // Exports: |
| 21 exports.varargs = varargs; |
| 22 }); |
OLD | NEW |