-
-
Notifications
You must be signed in to change notification settings - Fork 756
assignment of generic procs with ternary operator fails #1239
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
Comments
Hello! I am marking this issue as stale as it has not received any engagement from the community or maintainers 120 days. That does not imply that the issue has no merit! If you feel strongly about this issue
The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone.. |
Still a problem in |
The
Seems like it is now working as it should? |
Odin
dev-2021-10:eebf49ba
Cannot assign value 'true ? fn : fn' of type 'proc($T)' to 'proc(int)' in assignment
This is possibly a bug / oversight.
The generic proc
fn
can be specialised, anytime, to (proc :: (_: int)
) and thus matches the signature of the function pointerfn_
no matter the syntactic sugar you use.The text was updated successfully, but these errors were encountered: