Skip to content

Commit e2c0423

Browse files
committed
add test for multiple await in function
1 parent 119b1dc commit e2c0423

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

jscomp/test/Import.js

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jscomp/test/Import.res

+6
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,9 @@ let f1 = async () => {
4747
module M3 = await (Belt.List: BeltList)
4848
M3.forEach
4949
}
50+
51+
let f2 = async () => {
52+
module M3 = await (Belt.List: BeltList)
53+
module M4 = await (Belt.List: BeltList)
54+
(M3.forEach, M4.forEach)
55+
}

0 commit comments

Comments
 (0)