Skip to content
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

fix arraymancer for https://github.com/nim-lang/Nim/pull/18050 #508

Merged

Conversation

timotheecour
Copy link
Contributor

unblocks nim-lang/Nim#18050 which fixes the long-standing generic sandwich problem in nim (nim CI in that nim PR fails for 2 packages which depend on arraymancer; this arraymancer PR fixes it)

this is forward and backward compatible.

I can change the PR to from ../../tensor/data_structure import size above copyFromRaw if needed (either works)

size isn't defined in this the scope where copyFromRaw uses it, and only works currently in nim devel because of the generic sandwich problem; but after nim-lang/Nim#18050 it won't work unless either mixin is used or from ../../tensor/data_structure import size is used.

@timotheecour
Copy link
Contributor Author

@mratsim can you please tag a new release? otherwise the packages that depend on this won't see this change (and would still fail)

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