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

Unified Diff: test/codegen/expect/language/async_await_syntax_test_a12c_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 side-by-side diff with in-line comments
Download patch
Index: test/codegen/expect/language/async_await_syntax_test_a12c_multi.js
diff --git a/test/codegen/expect/language/async_await_syntax_test_a12c_multi.js b/test/codegen/expect/language/async_await_syntax_test_a12c_multi.js
new file mode 100644
index 0000000000000000000000000000000000000000..94f94e827d721d0e5be0bcfafaa75f618c9c315b
--- /dev/null
+++ b/test/codegen/expect/language/async_await_syntax_test_a12c_multi.js
@@ -0,0 +1,46 @@
+dart_library.library('language/async_await_syntax_test_a12c_multi', null, /* Imports */[
+ 'dart_sdk'
+], function load__async_await_syntax_test_a12c_multi(exports, dart_sdk) {
+ 'use strict';
+ const core = dart_sdk.core;
+ const async = dart_sdk.async;
+ const dart = dart_sdk.dart;
+ const dartx = dart_sdk.dartx;
+ const async_await_syntax_test_a12c_multi = Object.create(null);
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
+ let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
+ async_await_syntax_test_a12c_multi.yield = 0;
+ async_await_syntax_test_a12c_multi.await = 0;
+ dart.copyProperties(async_await_syntax_test_a12c_multi, {
+ get st() {
+ return async.Stream.fromIterable([]);
+ }
+ });
+ dart.copyProperties(async_await_syntax_test_a12c_multi, {
+ get async() {}
+ });
+ async_await_syntax_test_a12c_multi.B = class B extends core.Object {};
+ async_await_syntax_test_a12c_multi.C = class C extends async_await_syntax_test_a12c_multi.B {
+ new() {
+ }
+ };
+ dart.setSignature(async_await_syntax_test_a12c_multi.C, {
+ constructors: () => ({new: dart.definiteFunctionType(async_await_syntax_test_a12c_multi.C, [])})
+ });
+ async_await_syntax_test_a12c_multi.method1 = function() {
+ };
+ dart.fn(async_await_syntax_test_a12c_multi.method1, VoidTodynamic());
+ async_await_syntax_test_a12c_multi.method2 = function() {
+ };
+ dart.fn(async_await_syntax_test_a12c_multi.method2, VoidTodynamic());
+ async_await_syntax_test_a12c_multi.main = function() {
+ let a = null;
+ let c = new async_await_syntax_test_a12c_multi.C();
+ a = async_await_syntax_test_a12c_multi.async;
+ async_await_syntax_test_a12c_multi.method1();
+ async_await_syntax_test_a12c_multi.method2();
+ };
+ dart.fn(async_await_syntax_test_a12c_multi.main, VoidTovoid());
+ // Exports:
+ exports.async_await_syntax_test_a12c_multi = async_await_syntax_test_a12c_multi;
+});

Powered by Google App Engine
This is Rietveld 408576698