Index: test/codegen_expected/language/async_await_syntax_test_c02a_multi.js |
diff --git a/test/codegen_expected/language/async_await_syntax_test_c02a_multi.js b/test/codegen_expected/language/async_await_syntax_test_c02a_multi.js |
index a9d92b9fa0c9bb10a0a4b204af2a7d2e07ffc02d..675197b3adaeb15b484d0c39b903c1aad24bbe4e 100644 |
--- a/test/codegen_expected/language/async_await_syntax_test_c02a_multi.js |
+++ b/test/codegen_expected/language/async_await_syntax_test_c02a_multi.js |
@@ -7,6 +7,7 @@ dart_library.library('language/async_await_syntax_test_c02a_multi', null, /* Imp |
const dart = dart_sdk.dart; |
const dartx = dart_sdk.dartx; |
const async_await_syntax_test_c02a_multi = Object.create(null); |
+ let VoidToFuture = () => (VoidToFuture = dart.constFn(dart.definiteFunctionType(async.Future, [])))(); |
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))(); |
async_await_syntax_test_c02a_multi.yield = 0; |
@@ -29,7 +30,7 @@ dart_library.library('language/async_await_syntax_test_c02a_multi', null, /* Imp |
return dart.async(function*() { |
}, dart.dynamic); |
} |
- dart.fn(c02a, VoidTodynamic()); |
+ dart.fn(c02a, VoidToFuture()); |
c02a(); |
}; |
dart.fn(async_await_syntax_test_c02a_multi.method1, VoidTodynamic()); |