Skip to content

fix: search.zig const/var compile failure (#426)#431

Open
yxlyx wants to merge 1 commit intomainfrom
fix/426-search-const-var
Open

fix: search.zig const/var compile failure (#426)#431
yxlyx wants to merge 1 commit intomainfrom
fix/426-search-const-var

Conversation

@yxlyx
Copy link
Copy Markdown
Collaborator

@yxlyx yxlyx commented Apr 10, 2026

Summary

  • Changes const refs to var refs in two searchRefs tests (lines 315, 322) so deinit can take a mutable pointer.

Test plan

  • zig test src/search.zig — all 24 tests pass (was failing before)
  • No other files changed

Fixes #426

Made with Cursor

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.

bug: search.zig tests fail to compile — const ArrayList cannot call mutable deinit

1 participant