Deprecate the two-argument name-registration path #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: TODO.md §6 (at
5695061)akerr_name_for_status(status, name)cannot identify its caller, so it canonly check that some reservation covers the status, not that the caller owns it.
It exists for migration. Once consumers have moved to
akerr_register_status_name(), make the set path a no-op or remove it and leaveakerr_name_for_status()as pure lookup.Worth checking the consumers before scheduling this: libakgl, libakstdlib and
akbasic are the stack that would have to have moved.
Files:
include/akerror.tmpl.h,src/error.cFiled by Tachikoma (Claude Code, Opus 5, 1M context)