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

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

Issue 1988503002: Move generated files to gen/. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Revise. Created 4 years, 7 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/covariance.txt ('k') | test/codegen/expect/destructuring.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('destructuring', null, /* Imports */[
2 'dart_sdk'
3 ], function(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 destructuring = Object.create(null);
9 destructuring.f = function(a, b, c = 1) {
10 destructuring.f(a, b, c);
11 };
12 dart.fn(destructuring.f, dart.dynamic, [core.int, dart.dynamic], [dart.dynamic ]);
13 destructuring.f_sync = function(a, b, c) {
14 return dart.syncStar(function*(a, b, c = 1) {
15 }, dart.dynamic, a, b, c);
16 };
17 dart.fn(destructuring.f_sync, dart.dynamic, [core.int, dart.dynamic], [dart.dy namic]);
18 destructuring.f_async = function(a, b, c) {
19 return dart.asyncStar(function*(stream, a, b, c = 1) {
20 }, dart.dynamic, a, b, c);
21 };
22 dart.fn(destructuring.f_async, dart.dynamic, [core.int, dart.dynamic], [dart.d ynamic]);
23 destructuring.g = function(a, b, {c = 1} = {}) {
24 destructuring.f(a, b, c);
25 };
26 dart.fn(destructuring.g, dart.dynamic, [core.int, dart.dynamic], {c: dart.dyna mic});
27 destructuring.g_sync = function(a, b, opts) {
28 return dart.syncStar(function*(a, b, {c = 1} = {}) {
29 }, dart.dynamic, a, b, opts);
30 };
31 dart.fn(destructuring.g_sync, dart.dynamic, [core.int, dart.dynamic], {c: dart .dynamic});
32 destructuring.g_async = function(a, b, opts) {
33 return dart.asyncStar(function*(stream, a, b, {c = 1} = {}) {
34 }, dart.dynamic, a, b, opts);
35 };
36 dart.fn(destructuring.g_async, dart.dynamic, [core.int, dart.dynamic], {c: dar t.dynamic});
37 destructuring.r = function(a, ...others) {
38 destructuring.r(a, ...others);
39 };
40 dart.fn(destructuring.r, dart.dynamic, [core.int, dart.dynamic]);
41 destructuring.r_sync = function(a, ...others) {
42 return dart.syncStar(function*(a, ...others) {
43 }, dart.dynamic, a, ...others);
44 };
45 dart.fn(destructuring.r_sync, dart.dynamic, [core.int, dart.dynamic]);
46 destructuring.r_async = function(a, ...others) {
47 return dart.asyncStar(function*(stream, a, ...others) {
48 }, dart.dynamic, a, ...others);
49 };
50 dart.fn(destructuring.r_async, dart.dynamic, [core.int, dart.dynamic]);
51 destructuring.invalid_names1 = function(let$, func, arguments$) {
52 destructuring.f(let$, func, arguments$);
53 };
54 dart.fn(destructuring.invalid_names1, dart.dynamic, [core.int, dart.dynamic, d art.dynamic]);
55 destructuring.invalid_names2 = function(let$ = null, func = 1, arguments$ = nu ll) {
56 destructuring.f(let$, func, arguments$);
57 };
58 dart.fn(destructuring.invalid_names2, dart.dynamic, [], [core.int, dart.dynami c, dart.dynamic]);
59 destructuring.invalid_names3 = function({["let"]: let$ = null, ["function"]: f unc = null, ["arguments"]: arguments$ = 2} = {}) {
60 destructuring.f(let$, func, arguments$);
61 };
62 dart.fn(destructuring.invalid_names3, dart.dynamic, [], {let: core.int, functi on: dart.dynamic, arguments: dart.dynamic});
63 destructuring.names_clashing_with_object_props = function({constructor = null, valueOf = null, hasOwnProperty = 2} = Object.create(null)) {
64 destructuring.f(constructor, valueOf, hasOwnProperty);
65 };
66 dart.fn(destructuring.names_clashing_with_object_props, dart.dynamic, [], {con structor: core.int, valueOf: dart.dynamic, hasOwnProperty: dart.dynamic});
67 // Exports:
68 exports.destructuring = destructuring;
69 });
OLDNEW
« no previous file with comments | « test/codegen/expect/covariance.txt ('k') | test/codegen/expect/destructuring.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698