-
Notifications
You must be signed in to change notification settings - Fork 200
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
Infer closure phase #3755
Comments
I think this is something we should introduce but at a later stage. Since preflight/inflight is such a novel concept, there's value in requiring more explicitness. But as the language and community matures, I think this is something we should introduce. |
I'm curious if having phase independent functions (#435) would affect how inference is performed / when it's valid etc. |
Hi, This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Hi, This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Hi, This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Feature Spec
When creating a closure, the phase is inferred by what is needed for the current situation if unambiguous:
Use Cases
less typing
Implementation Notes
I'm actually not sure I love this, but curious about other's thoughts
Component
Language Design, Compiler
Community Notes
The text was updated successfully, but these errors were encountered: