0c148ecef4
Highlights * compile one module at a time * use summaries to speed up compiles * use command runner so we can add more commands later * some long needed renames and file organization * various other technical debt has been addressed Lowlights * lost node.js runner/tests (node output format still supported) * possibly lost some closure support/workarounds (format still supported) * needs more end-to-end tests of the new system R=vsm@google.com Review URL: https://codereview.chromium.org/1879373004 .
22 lines
595 B
JavaScript
22 lines
595 B
JavaScript
dart_library.library('varargs', null, /* Imports */[
|
|
'dart_sdk'
|
|
], function(exports, dart_sdk) {
|
|
'use strict';
|
|
const core = dart_sdk.core;
|
|
const dart = dart_sdk.dart;
|
|
const dartx = dart_sdk.dartx;
|
|
const varargs = Object.create(null);
|
|
varargs.varargsTest = function(x, ...others) {
|
|
let args = [1, others];
|
|
dart.dsend(x, 'call', ...args);
|
|
};
|
|
dart.fn(varargs.varargsTest);
|
|
varargs.varargsTest2 = function(x, ...others) {
|
|
let args = [1, others];
|
|
dart.dsend(x, 'call', ...args);
|
|
};
|
|
dart.fn(varargs.varargsTest2);
|
|
// Exports:
|
|
exports.varargs = varargs;
|
|
});
|