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

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

Issue 1424133007: Compile package:js.{rest, spread} helpers (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Use freshly released version 0.6.0-beta.6 of package:js ran formatter Created 5 years, 1 month 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 | « pubspec.yaml ('k') | test/codegen/expect/js/src/varargs.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 let 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 });
OLDNEW
« no previous file with comments | « pubspec.yaml ('k') | test/codegen/expect/js/src/varargs.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698