Remove unused flag clearing closures
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user