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

Unified Diff: test/codegen_expected/language/async_await_syntax_test_c09a_multi.js

Issue 2214263005: Mark recursive_inheritance_test as passing (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Bumped pubspec Created 4 years, 4 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_expected/language/async_await_syntax_test_c09a_multi.js
diff --git a/test/codegen_expected/language/async_await_syntax_test_c09a_multi.js b/test/codegen_expected/language/async_await_syntax_test_c09a_multi.js
index 246d82dc166e64964578bf418c0db0e937082536..058aff0e8de2b121bdf0c2ce58f97907af4fef6b 100644
--- a/test/codegen_expected/language/async_await_syntax_test_c09a_multi.js
+++ b/test/codegen_expected/language/async_await_syntax_test_c09a_multi.js
@@ -7,6 +7,8 @@ dart_library.library('language/async_await_syntax_test_c09a_multi', null, /* Imp
const dart = dart_sdk.dart;
const dartx = dart_sdk.dartx;
const async_await_syntax_test_c09a_multi = Object.create(null);
+ let StreamOfint = () => (StreamOfint = dart.constFn(async.Stream$(core.int)))();
+ let VoidToStreamOfint = () => (VoidToStreamOfint = dart.constFn(dart.definiteFunctionType(StreamOfint(), [])))();
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
async_await_syntax_test_c09a_multi.yield = 0;
@@ -29,9 +31,9 @@ dart_library.library('language/async_await_syntax_test_c09a_multi', null, /* Imp
return dart.asyncStar(function*(stream) {
if (stream.add(0)) return;
yield;
- }, dart.dynamic);
+ }, core.int);
}
- dart.fn(c09a, VoidTodynamic());
+ dart.fn(c09a, VoidToStreamOfint());
c09a();
};
dart.fn(async_await_syntax_test_c09a_multi.method1, VoidTodynamic());

Powered by Google App Engine
This is Rietveld 408576698