Skip to content

Commit dd1f6fa

Browse files
authored
Update drop-cross-task-borrow.wast for async keyword changes (#653)
1 parent 4769c40 commit dd1f6fa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/async/drop-cross-task-borrow.wast

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@
125125
(func (export "resume-dont-drop")
126126
(canon lift (core func $dm "resume-dont-drop"))
127127
)
128-
(func (export "drop-other-and-self") (param "self" (borrow $R)) (result u32)
128+
(func (export "drop-other-and-self") async (param "self" (borrow $R)) (result u32)
129129
(canon lift (core func $dm "drop-other-and-self") async (callback (func $dm "unreachable-cb")))
130130
)
131-
(func (export "drop-wrong-one") (param "self" (borrow $R))
131+
(func (export "drop-wrong-one") async (param "self" (borrow $R))
132132
(canon lift (core func $dm "drop-wrong-one") async (callback (func $dm "unreachable-cb")))
133133
)
134134
)
@@ -143,8 +143,8 @@
143143
(export "dont-drop" (func async (param "self" (borrow $R)) (result u32)))
144144
(export "drop-handle" (func (result u32)))
145145
(export "resume-dont-drop" (func))
146-
(export "drop-other-and-self" (func (param "self" (borrow $R)) (result u32)))
147-
(export "drop-wrong-one" (func (param "self" (borrow $R))))
146+
(export "drop-other-and-self" (func async (param "self" (borrow $R)) (result u32)))
147+
(export "drop-wrong-one" (func async (param "self" (borrow $R))))
148148
))
149149
(core module $Memory (memory (export "mem") 1))
150150
(core instance $memory (instantiate $Memory))

0 commit comments

Comments
 (0)