Index: test/codegen_expected/language/async_await_syntax_test_c06a_multi.js |
diff --git a/test/codegen_expected/language/async_await_syntax_test_c06a_multi.js b/test/codegen_expected/language/async_await_syntax_test_c06a_multi.js |
index 6b6c1199ead843754e917588bd0389543a126ecb..a71d98703f5f6c04c9f0f832b695d415dae062ec 100644 |
--- a/test/codegen_expected/language/async_await_syntax_test_c06a_multi.js |
+++ b/test/codegen_expected/language/async_await_syntax_test_c06a_multi.js |
@@ -7,6 +7,7 @@ dart_library.library('language/async_await_syntax_test_c06a_multi', null, /* Imp |
const dart = dart_sdk.dart; |
const dartx = dart_sdk.dartx; |
const async_await_syntax_test_c06a_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_c06a_multi.yield = 0; |
@@ -37,7 +38,7 @@ dart_library.library('language/async_await_syntax_test_c06a_multi', null, /* Imp |
} |
}, dart.dynamic); |
} |
- dart.fn(c06a, VoidTodynamic()); |
+ dart.fn(c06a, VoidToFuture()); |
c06a(); |
}; |
dart.fn(async_await_syntax_test_c06a_multi.method1, VoidTodynamic()); |