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

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

Issue 2128353002: Check in codegen test expectations. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 5 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') | test/codegen_test.dart » ('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('varargs', null, /* Imports */[
2 'dart_sdk'
3 ], function load__varargs(exports, dart_sdk) {
4 'use strict';
5 const core = dart_sdk.core;
6 const dart = dart_sdk.dart;
7 const dartx = dart_sdk.dartx;
8 const varargs = Object.create(null);
9 let dynamicAnddynamicTodynamic = () => (dynamicAnddynamicTodynamic = dart.cons tFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic, dart.dynamic])))();
10 varargs.varargsTest = function(x, ...others) {
11 let args = [1, others];
12 dart.dsend(x, 'call', ...args);
13 };
14 dart.fn(varargs.varargsTest, dynamicAnddynamicTodynamic());
15 varargs.varargsTest2 = function(x, ...others) {
16 let args = [1, others];
17 dart.dsend(x, 'call', ...args);
18 };
19 dart.fn(varargs.varargsTest2, dynamicAnddynamicTodynamic());
20 // Exports:
21 exports.varargs = varargs;
22 });
OLDNEW
« no previous file with comments | « test/codegen/expect/unittest/unittest.js ('k') | test/codegen_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698