Skip to content

Commit 51ddedf

Browse files
dhilAlan-Liang
andauthored
[spec] resume_throw should accept multiple handlers (WebAssembly#71) (#44)
* [spec] resume_throw should accept multiple handlers (WebAssembly#71) * Add missing * --------- Co-authored-by: Alan L <[email protected]>
1 parent d1859f9 commit 51ddedf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

proposals/continuations/Overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ Based on [typed reference proposal](https://github.com/WebAssembly/function-refe
3939
- and `(label $l : [te1'* (ref null? $ct')])*`
4040
- and `([te1*] <: [te1'*])*`
4141
- and `($ct' = cont $ft')*`
42-
- and `$ft' = [t1'*] -> [t2'*]`
42+
- and `($ft' = [t1'*] -> [t2'*])*`
4343
- and `([te2*] -> [t2*] <: [t1'*] -> [t2'*])*`
4444

45-
* `resume_throw <typeidx> <tagidx> (on <tagidx> <labelidx>)` aborts a continuation
46-
- `resume_throw $ct $e (on $t $l): [te* (ref null? $ct)] -> [t2*]`
47-
- iff `(on $e : [te*] -> [])`
45+
* `resume_throw <typeidx> <tagidx> (on <tagidx> <labelidx>)*` aborts a continuation
46+
- `resume_throw $ct $e (on $t $l)* : [te* (ref null? $ct)] -> [t2*]`
47+
- iff `(tag $e : [te*] -> [])`
4848
- and `$ct = cont $ft`
4949
- and `$ft = [t1*] -> [t2*]`
5050
- and `(on $t : [te1*] -> [te2*])*`
5151
- and `(label $l : [te1'* (ref null? $ct')])*`
5252
- and `([te1*] <: [te1'*])*`
5353
- and `($ct' = cont $ft')*`
54-
- and `$ft' = [t1'*] -> [t2'*]`
54+
- and `($ft' = [t1'*] -> [t2'*])*`
5555
- and `([te2*] -> [t2*] <: [t1'*] -> [t2'*])*`
5656

5757
* `barrier <blocktype> <instr>* end` blocks suspension

0 commit comments

Comments
 (0)