Skip to content

Commit ba7edb6

Browse files
committed
Fix typing rule of administrative delegate.
This is not the suggestion given in that last review of WebAssembly#143: https://github.com/WebAssembly/exception-handling/pull/143/files#r759907998 but a potential fix of the issue raised there.
1 parent e9f4732 commit ba7edb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/exception-handling/Exceptions-formal-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ C ⊢ try bt instr* (catch x instr'*)* (catch_all instr''*)? end : [t1*]→[t2*]
8484
8585
C ⊢ bt : [t1*]→[t2*]
8686
C, labels [t2*] ⊢ instr* : [t1*]→[t2*]
87-
C.labels[l] = [t*]
87+
|C.labels| ≥ l
8888
-------------------------------------------
8989
C ⊢ try bt instr* delegate l : [t1*]→[t2*]
9090
```
@@ -206,7 +206,7 @@ S;C, labels [t*] ⊢ instr* : []→[t*]
206206
S;C, labels [t*] ⊢ catch{a? instr'*}* instr* end : []→[t*]
207207
208208
S;C, labels [t*] ⊢ instr* : []→[t*]
209-
C.labels[l] = [t'*]
209+
|C.labels| ≥ l
210210
------------------------------------------------------
211211
S;C, labels [t*] ⊢ delegate{l} instr* end : []→[t*]
212212

0 commit comments

Comments
 (0)