Skip to content

Commit

Permalink
add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mununki committed Oct 10, 2023
1 parent 5ff1558 commit b5d902b
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion jscomp/test/Import.res
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,24 @@ let f5 = async () => {
module A = await Belt.Array
module O = await Belt.Option
(A.forEach, O.forEach)
}
}

let f6 = async () => {
let a = 0
and b = {
module MS = await Belt.Map.String
MS.forEach
}
module A = await Belt.Array
(a, b, A.forEach)
}

let f7 = async () => {
if true {
module MI = await Belt.Map.Int
1
} else {
module MI = await Belt.Map.Dict
0
}
}

0 comments on commit b5d902b

Please sign in to comment.