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

Be explicit about sugar.lift parameter being typed instead of untyped #9

Closed
wants to merge 1 commit into from

Conversation

metagn
Copy link

@metagn metagn commented Apr 15, 2023

With Nim's current overloading system, since lift has an overload with the first parameter having a type, the first parameter of any lift call is assumed to be typed (which is not preferable, discussion about it here). lift currently breaks if this behavior is changed, unless we explicitly write typed, so do this in case this gets changed.

With Nim's current overloading system, since `lift` has an overload with the first parameter having a type, the first parameter of any `lift` call is assumed to be typed (which is not preferable, discussion about it [here](nim-lang/RFCs#402)). `lift` currently breaks if this behavior is changed, unless we explicitly write `typed`, so do this in case this gets changed.
@metagn
Copy link
Author

metagn commented Apr 21, 2023

Feel free to add this patch yourself

@metagn metagn closed this Apr 21, 2023
andreaferretti added a commit that referenced this pull request Apr 24, 2023
@andreaferretti
Copy link
Owner

Sorry it took a while, I applied the change manually as you suggested. Thank you!

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