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

Side by Side Diff: test/codegen/expect/js/src/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/js/js.js ('k') | test/codegen/expect/language-all.js » ('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('js/src/varargs', null, /* Imports */[ 1 dart_library.library('js/src/varargs', null, /* Imports */[
2 "dart/_runtime", 2 'dart/_runtime',
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 ], function(exports, dart, core) { 5 ], function(exports, dart, core) {
6 'use strict'; 6 'use strict';
7 let dartx = dart.dartx; 7 let dartx = dart.dartx;
8 class _Rest extends core.Object { 8 class _Rest extends core.Object {
9 _Rest() { 9 _Rest() {
10 } 10 }
11 } 11 }
12 dart.setSignature(_Rest, { 12 dart.setSignature(_Rest, {
13 constructors: () => ({_Rest: [_Rest, []]}) 13 constructors: () => ({_Rest: [_Rest, []]})
14 }); 14 });
15 const rest = dart.const(new _Rest()); 15 const rest = dart.const(new _Rest());
16 function spread(args) { 16 function spread(args) {
17 dart.throw(new core.StateError('The spread function cannot be called, ' + 'i t should be compiled away.')); 17 dart.throw(new core.StateError('The spread function cannot be called, ' + 'i t should be compiled away.'));
18 } 18 }
19 dart.fn(spread); 19 dart.fn(spread);
20 // Exports: 20 // Exports:
21 exports.rest = rest; 21 exports.rest = rest;
22 exports.spread = spread; 22 exports.spread = spread;
23 }); 23 });
OLDNEW
« no previous file with comments | « test/codegen/expect/js/js.js ('k') | test/codegen/expect/language-all.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698