Skip to content

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

Open
mfrancisc wants to merge 1 commit into
apache:mainfrom
mfrancisc:upstream/fix-archived-unsigned
Open

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

Conversation

@mfrancisc

Copy link
Copy Markdown

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>
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.

1 participant