OLD | NEW |
(Empty) | |
| 1 dart_library.library('varargs', null, /* Imports */[ |
| 2 "dart/_runtime" |
| 3 ], /* Lazy imports */[ |
| 4 ], function(exports, dart) { |
| 5 'use strict'; |
| 6 let dartx = dart.dartx; |
| 7 function varargsTest(x, ...others) { |
| 8 let args = [1, others]; |
| 9 dart.dsend(x, 'call', ...args); |
| 10 } |
| 11 dart.fn(varargsTest); |
| 12 function varargsTest2(x, ...others) { |
| 13 let args = [1, others]; |
| 14 dart.dsend(x, 'call', ...args); |
| 15 } |
| 16 dart.fn(varargsTest2); |
| 17 // Exports: |
| 18 exports.varargsTest = varargsTest; |
| 19 exports.varargsTest2 = varargsTest2; |
| 20 }); |
OLD | NEW |