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

Unified Diff: test/codegen_expected/language/async_await_syntax_test_c07a_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_c07a_multi.js
diff --git a/test/codegen_expected/language/async_await_syntax_test_c07a_multi.js b/test/codegen_expected/language/async_await_syntax_test_c07a_multi.js
index 909fdb93de31dfed9e18dc296a0cc65261e8a379..34ad4804971d5fbaba6592a4444c5dd9498918b6 100644
--- a/test/codegen_expected/language/async_await_syntax_test_c07a_multi.js
+++ b/test/codegen_expected/language/async_await_syntax_test_c07a_multi.js
@@ -7,6 +7,8 @@ dart_library.library('language/async_await_syntax_test_c07a_multi', null, /* Imp
const dart = dart_sdk.dart;
const dartx = dart_sdk.dartx;
const async_await_syntax_test_c07a_multi = Object.create(null);
+ let IterableOfint = () => (IterableOfint = dart.constFn(core.Iterable$(core.int)))();
+ let VoidToIterableOfint = () => (VoidToIterableOfint = dart.constFn(dart.definiteFunctionType(IterableOfint(), [])))();
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
async_await_syntax_test_c07a_multi.yield = 0;
@@ -28,9 +30,9 @@ dart_library.library('language/async_await_syntax_test_c07a_multi', null, /* Imp
function c07a() {
return dart.syncStar(function*() {
yield 0;
- }, dart.dynamic);
+ }, core.int);
}
- dart.fn(c07a, VoidTodynamic());
+ dart.fn(c07a, VoidToIterableOfint());
c07a();
};
dart.fn(async_await_syntax_test_c07a_multi.method1, VoidTodynamic());

Powered by Google App Engine
This is Rietveld 408576698