Index: test/codegen_expected/language/async_await_syntax_test_c05a_multi.js |
diff --git a/test/codegen_expected/language/async_await_syntax_test_c05a_multi.js b/test/codegen_expected/language/async_await_syntax_test_c05a_multi.js |
index 93f05422a4810f6f6b69e17584e63e8b8f0267c3..9c541989247fed0f80f3c5feb74f729fd84151bb 100644 |
--- a/test/codegen_expected/language/async_await_syntax_test_c05a_multi.js |
+++ b/test/codegen_expected/language/async_await_syntax_test_c05a_multi.js |
@@ -7,6 +7,7 @@ dart_library.library('language/async_await_syntax_test_c05a_multi', null, /* Imp |
const dart = dart_sdk.dart; |
const dartx = dart_sdk.dartx; |
const async_await_syntax_test_c05a_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_c05a_multi.yield = 0; |
@@ -30,7 +31,7 @@ dart_library.library('language/async_await_syntax_test_c05a_multi', null, /* Imp |
yield 0; |
}, dart.dynamic); |
} |
- dart.fn(c05a, VoidTodynamic()); |
+ dart.fn(c05a, VoidToFuture()); |
c05a(); |
}; |
dart.fn(async_await_syntax_test_c05a_multi.method1, VoidTodynamic()); |