Skip to content

Commit 1aedfb7

Browse files
committed
add attributes
1 parent 2519baf commit 1aedfb7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

res_syntax/tests/parsing/grammar/expressions/await.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ let () = {
2525
await delay(20)
2626
}
2727

28-
let forEach = await Js.Import(Belt.List.forEach)
28+
let forEach = await @a @b Js.Import(Belt.List.forEach)
2929

30-
module M = await Belt.List
30+
module M = await @a @b Belt.List

res_syntax/tests/parsing/grammar/expressions/expected/await.res.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ let () =
1616
let () = ((delay 10)[@res.braces ][@res.await ])
1717
let () = ((((delay 10)[@res.await ]); ((delay 20)[@res.await ]))
1818
[@res.braces ])
19-
let forEach = ((Js.Import Belt.List.forEach)[@res.await ])
20-
module M = ((Belt.List)[@res.await ])
19+
let forEach = ((Js.Import Belt.List.forEach)[@res.await ][@a ][@b ])
20+
module M = ((Belt.List)[@res.await ][@a ][@b ])

0 commit comments

Comments
 (0)