handle stock split
Some checks failed
Generate check / check-changes (pull_request) Successful in 3s
Quality / check-changes (pull_request) Successful in 3s
Generate check / verify-generate (pull_request) Successful in 16s
Quality / run-tests (pull_request) Failing after 10s

This commit is contained in:
2026-05-16 15:34:24 +01:00
parent 5cdccfcdb1
commit 7cc5d1cf75
6 changed files with 258 additions and 35 deletions

View File

@@ -24,6 +24,7 @@ func (d Kind) String() string {
}
// Is returns true when k equals o
func (k Kind) Is(o Kind) bool {
return k == o
func (k Kind) Is(o any) bool {
other, ok := o.(Kind)
return ok && k == other
}