docs: rename planned errdefer keyword to onfail in CLAUDE.md

This commit is contained in:
agra
2026-05-31 12:34:55 +03:00
parent 9a9198511d
commit ce7a4862a5

View File

@@ -339,7 +339,7 @@ Five active workstreams run in parallel — **IR** (the language compiler),
overhaul, mem.sx + protocol expansion), **LANG** (user-facing language
features — diagnostics renderer, heterogeneous variadic packs), and
**ERR** (error handling: separate-channel `!` errors, `try` / `catch` /
`or` / `errdefer`, return traces). They touch mostly disjoint files;
`or` / `onfail`, return traces). They touch mostly disjoint files;
any can be advanced independently.
1. Read all five checkpoints to see where each stream is paused:
@@ -537,7 +537,7 @@ Wiring a new bundling step:
| `current/CHECKPOINT-FFI.md` | **Active** FFI progress tracker. Update after every step. |
| `current/PLAN-LANG.md` | **Active** LANG implementation plan (diagnostics renderer, heterogeneous variadic packs). |
| `current/CHECKPOINT-LANG.md` | **Active** LANG progress tracker. Update after every step. |
| `current/PLAN-ERR.md` | **Active** ERR implementation plan (`!` errors, `try` / `catch` / `or` / `errdefer`, return traces). |
| `current/PLAN-ERR.md` | **Active** ERR implementation plan (`!` errors, `try` / `catch` / `or` / `onfail`, return traces). |
| `current/CHECKPOINT-ERR.md` | **Active** ERR progress tracker. Update after every step. |
| `implementation_plan.md` | Archive of completed work (closures, protocols, etc.). Do not pick up tasks from here. |
| `readme.md` | Original syntax sketches. Do not modify. |