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()); |