diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-10 23:56:41 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-10 23:56:41 +0300 |
| commit | b9f90b4ffa8260cc906fa1b195ed0ba4aaa211df (patch) | |
| tree | cf2a74c9fa9d3f302ebd14a8e86421667ef87aeb /integrationtests | |
| parent | dd279875b978dd3539e75c4159e62cb1b78b8ce7 (diff) | |
Fix mixed receivers on commandTable type
The commandTable type had mixed receiver kinds: get, rootCompletionEntries
and singleSelectorNames used value receivers while add used a pointer
receiver because it mutates the table. Standardize on pointer receivers for
all methods (the mutating add forces this choice) and return *commandTable
from newCommandTable. Call sites are unaffected since commandRegistry is an
addressable package-level variable.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'integrationtests')
0 files changed, 0 insertions, 0 deletions
