Commit e142e8d
fix(loop): replace catch unreachable with try in self_hosting_loop.zig init (#159)
Replace unsafe `catch unreachable` with `try` for ArrayList initialization
in SelfHostingSession.init(). Allocation can fail, so error propagation is
required instead of asserting impossibility.
Closes #159
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c16ed8f commit e142e8d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
200 | | - | |
| 199 | + | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
0 commit comments