Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1027)

Side by Side Diff: test/codegen/expect/varargs.js

Issue 1530563003: Generate all runtime files from dart. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged master Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/codegen/expect/unittest/unittest.js ('k') | tool/build_sdk.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart_library.library('varargs', null, /* Imports */[ 1 dart_library.library('varargs', null, /* Imports */[
2 "dart/_runtime" 2 'dart/_runtime'
3 ], /* Lazy imports */[ 3 ], /* Lazy imports */[
4 ], function(exports, dart) { 4 ], function(exports, dart) {
5 'use strict'; 5 'use strict';
6 let dartx = dart.dartx; 6 let dartx = dart.dartx;
7 function varargsTest(x, ...others) { 7 function varargsTest(x, ...others) {
8 let args = [1, others]; 8 let args = [1, others];
9 dart.dsend(x, 'call', ...args); 9 dart.dsend(x, 'call', ...args);
10 } 10 }
11 dart.fn(varargsTest); 11 dart.fn(varargsTest);
12 function varargsTest2(x, ...others) { 12 function varargsTest2(x, ...others) {
13 let args = [1, others]; 13 let args = [1, others];
14 dart.dsend(x, 'call', ...args); 14 dart.dsend(x, 'call', ...args);
15 } 15 }
16 dart.fn(varargsTest2); 16 dart.fn(varargsTest2);
17 // Exports: 17 // Exports:
18 exports.varargsTest = varargsTest; 18 exports.varargsTest = varargsTest;
19 exports.varargsTest2 = varargsTest2; 19 exports.varargsTest2 = varargsTest2;
20 }); 20 });
OLDNEW
« no previous file with comments | « test/codegen/expect/unittest/unittest.js ('k') | tool/build_sdk.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698