OLD | NEW |
| (Empty) |
1 dart_library.library('js/src/varargs', null, /* Imports */[ | |
2 'dart/_runtime', | |
3 'dart/core' | |
4 ], /* Lazy imports */[ | |
5 ], function(exports, dart, core) { | |
6 'use strict'; | |
7 let dartx = dart.dartx; | |
8 class _Rest extends core.Object { | |
9 _Rest() { | |
10 } | |
11 } | |
12 dart.setSignature(_Rest, { | |
13 constructors: () => ({_Rest: [_Rest, []]}) | |
14 }); | |
15 const rest = dart.const(new _Rest()); | |
16 function spread(args) { | |
17 dart.throw(new core.StateError('The spread function cannot be called, ' + 'i
t should be compiled away.')); | |
18 } | |
19 dart.fn(spread); | |
20 // Exports: | |
21 exports.rest = rest; | |
22 exports.spread = spread; | |
23 }); | |
OLD | NEW |