Skip to content

return var openArray from makeOpenArray in buggy nim versions #248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025

Conversation

arnetheduck
Copy link
Member

Workaround from nim-lang/Nim#19171

@arnetheduck arnetheduck merged commit f23d962 into master Jun 18, 2025
26 checks passed
@arnetheduck arnetheduck deleted the var-openarray branch June 18, 2025 11:05
@tersec
Copy link
Contributor

tersec commented Jun 18, 2025

Possible to guard this with a when (NimMajor, NimMinor, NimPatch) so it doesn't trigger when it's not necessary?

i.e. with all current IFT projects for example.

@arnetheduck
Copy link
Member Author

seems like more syntax than it's worth? ie the extra temporary is harmless given it's just a simple pointer in the end.

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