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

Make httpx work with strictFuncs #30

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

ire4ever1190
Copy link
Contributor

These procedures cant be functions since they access getData which has side effects (Specifically, ioselectors_epoll.nim(143, 8) Error: cannot pass s.fds to 'var T' parameter within a strict func).

This allows other libraries/applications that use httpx to enable strictFuncs

These procs access IO and so can't really be considered functions. `strictFuncs` also complains about them so they need to be changed so other libraries can work with `strictFuncs`
@ringabout ringabout merged commit cce9afe into ringabout:master Jun 26, 2023
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