Repository navigation
Commit 0f08411
committed
fix(scenarios): spell the reach rule's two codes as catalogue-typed literals
check:dispatcher-error-vocabulary reads the code an object literal stamps
only when its constant resolves to a literal, and ErrorCode.parse(...) does
not. The two constants are now literals typed ErrorCode, so a code the
catalogue drops fails the package's typecheck instead of drifting.
Claude-Session: https://claude.ai/code/session_016WV4cyjYBCnWT8iGQXxoeH
Co-authored-by: Claude <noreply@anthropic.com>1 parent 4ff318e commit 0f08411
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
151 | 154 | | |
152 | 155 | | |
153 | 156 | | |
| |||
156 | 159 | | |
157 | 160 | | |
158 | 161 | | |
159 | | - | |
160 | | - | |
| 162 | + | |
| 163 | + | |
161 | 164 | | |
162 | 165 | | |
163 | 166 | | |
| |||
0 commit comments