Skip to content

fix(core): replace constraints.Unsigned with local interface in archived base - #9032

Merged
klesh merged 1 commit into
apache:mainfrom
mfrancisc:upstream/fix-archived-unsigned
Aug 6, 2026
Merged

fix(core): replace constraints.Unsigned with local interface in archived base#9032
klesh merged 1 commit into
apache:mainfrom
mfrancisc:upstream/fix-archived-unsigned

Conversation

@mfrancisc

Copy link
Copy Markdown
Contributor

Summary

  • Replace golang.org/x/exp/constraints.Unsigned with a local unsignedInteger interface in archived GenericModel
  • Drops an unnecessary x/exp import that can break golangci-lint typecheck on older Go CI

…ved base

Recent golang.org/x/exp requires Go 1.23+, which breaks golangci-lint
typecheck on older CI. Inline the Unsigned constraint to drop the import.

Co-authored-by: Cursor <cursoragent@cursor.com>

@klesh klesh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Thanks for your contribution.

@klesh
klesh merged commit 6ea77c9 into apache:main Aug 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants