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

Side by Side Diff: test/codegen/expect/language/flatten_test_none_multi.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
OLDNEW
(Empty)
1 dart_library.library('language/flatten_test_none_multi', null, /* Imports */[
2 'dart_sdk'
3 ], function load__flatten_test_none_multi(exports, dart_sdk) {
4 'use strict';
5 const core = dart_sdk.core;
6 const async = dart_sdk.async;
7 const dart = dart_sdk.dart;
8 const dartx = dart_sdk.dartx;
9 const flatten_test_none_multi = Object.create(null);
10 let Derived = () => (Derived = dart.constFn(flatten_test_none_multi.Derived$() ))();
11 let FixedPoint = () => (FixedPoint = dart.constFn(flatten_test_none_multi.Fixe dPoint$()))();
12 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
13 flatten_test_none_multi.Derived$ = dart.generic(T => {
14 let FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))();
15 const Derived = dart.callableClass(function Derived(...args) {
16 const self = this;
17 function call(...args) {
18 return self.call.apply(self, args);
19 }
20 call.__proto__ = this.__proto__;
21 call.new.apply(call, args);
22 return call;
23 }, class Derived extends core.Object {
24 noSuchMethod(invocation) {
25 return super.noSuchMethod(invocation);
26 }
27 });
28 dart.addTypeTests(Derived);
29 Derived[dart.implements] = () => [FutureOfT()];
30 return Derived;
31 });
32 flatten_test_none_multi.Derived = Derived();
33 flatten_test_none_multi.FixedPoint$ = dart.generic(T => {
34 let FixedPointOfT = () => (FixedPointOfT = dart.constFn(flatten_test_none_mu lti.FixedPoint$(T)))();
35 let FutureOfFixedPointOfT = () => (FutureOfFixedPointOfT = dart.constFn(asyn c.Future$(FixedPointOfT())))();
36 const FixedPoint = dart.callableClass(function FixedPoint(...args) {
37 const self = this;
38 function call(...args) {
39 return self.call.apply(self, args);
40 }
41 call.__proto__ = this.__proto__;
42 call.new.apply(call, args);
43 return call;
44 }, class FixedPoint extends core.Object {
45 noSuchMethod(invocation) {
46 return super.noSuchMethod(invocation);
47 }
48 });
49 dart.addTypeTests(FixedPoint);
50 FixedPoint[dart.implements] = () => [FutureOfFixedPointOfT()];
51 return FixedPoint;
52 });
53 flatten_test_none_multi.FixedPoint = FixedPoint();
54 flatten_test_none_multi.test = function() {
55 return dart.async(function*() {
56 }, dart.dynamic);
57 };
58 dart.fn(flatten_test_none_multi.test, VoidTodynamic());
59 flatten_test_none_multi.main = function() {
60 flatten_test_none_multi.test();
61 };
62 dart.fn(flatten_test_none_multi.main, VoidTodynamic());
63 // Exports:
64 exports.flatten_test_none_multi = flatten_test_none_multi;
65 });
OLDNEW
« no previous file with comments | « test/codegen/expect/language/flatten_test_12_multi.js ('k') | test/codegen/expect/language/for2_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698