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

Side by Side Diff: test/codegen/expect/language/async_await_syntax_test_b15a_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/async_await_syntax_test_b15a_multi', null, /* Imp orts */[
2 'dart_sdk'
3 ], function load__async_await_syntax_test_b15a_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 async_await_syntax_test_b15a_multi = Object.create(null);
10 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
11 let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(da rt.void, [])))();
12 async_await_syntax_test_b15a_multi.yield = 0;
13 async_await_syntax_test_b15a_multi.await = 0;
14 dart.copyProperties(async_await_syntax_test_b15a_multi, {
15 get st() {
16 return async.Stream.fromIterable([]);
17 }
18 });
19 async_await_syntax_test_b15a_multi.B = class B extends core.Object {};
20 async_await_syntax_test_b15a_multi.C = class C extends async_await_syntax_test _b15a_multi.B {
21 new() {
22 }
23 sync() {}
24 };
25 dart.setSignature(async_await_syntax_test_b15a_multi.C, {
26 constructors: () => ({new: dart.definiteFunctionType(async_await_syntax_test _b15a_multi.C, [])}),
27 methods: () => ({sync: dart.definiteFunctionType(dart.dynamic, [])})
28 });
29 async_await_syntax_test_b15a_multi.method1 = function() {
30 };
31 dart.fn(async_await_syntax_test_b15a_multi.method1, VoidTodynamic());
32 async_await_syntax_test_b15a_multi.method2 = function() {
33 };
34 dart.fn(async_await_syntax_test_b15a_multi.method2, VoidTodynamic());
35 async_await_syntax_test_b15a_multi.main = function() {
36 let a = null;
37 let c = new async_await_syntax_test_b15a_multi.C();
38 c.sync();
39 async_await_syntax_test_b15a_multi.method1();
40 async_await_syntax_test_b15a_multi.method2();
41 };
42 dart.fn(async_await_syntax_test_b15a_multi.main, VoidTovoid());
43 // Exports:
44 exports.async_await_syntax_test_b15a_multi = async_await_syntax_test_b15a_mult i;
45 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698