Remove unused flag clearing closures

This commit is contained in:
2026-10-11 13:09:06 +00:00
parent 960a7c963e
commit 5aac2a0ee1
3 changed files with 8 additions and 5 deletions

View File

@@ -253,7 +253,14 @@ without an invented automated content-check promise.
## R6: Remove the obsolete binding-clear mechanism
**Status:** Open. **Priority:** P3.
**Status:** Completed (2026-10-11). **Priority:** P3.
**Completed work:** verified the field had only constructor assignments and no
callers, then removed it and the three unused closures. The removal leaves
prepared value application, defaults, presence, and binding identity untouched.
A follow-up source search finds no remaining binding-clear mechanism. All three
module suites pass offline with Go 1.26.8; formatting and whitespace checks pass.
No reset hook or public API change was introduced.
**Evidence:** [command.go](../../command.go) retains
`flagBinding.clear`, and [binding.go](../../binding.go) constructs clear