Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 7f1d39a

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

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 instr1* (catch x instr2*)* (catch_all instr3*)? 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
```
@@ -209,7 +209,7 @@ S;C, labels [t2*] ⊢ instr1* : []→[t2*]
209209
S;C, labels [t2*] ⊢ catch{a? instr2*}* instr1* end : []→[t2*]
210210
211211
S;C, labels [t*] ⊢ instr* : []→[t*]
212-
C.labels[l] = [t0*]
212+
|C.labels| ≥ l
213213
------------------------------------------------------
214214
S;C, labels [t*] ⊢ delegate{l} instr* end : []→[t*]
215215

0 commit comments

Comments
 (0)