-
Notifications
You must be signed in to change notification settings - Fork 87
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
Type inference from element expressions within tuple literal arguments #1244
Comments
FWIW, for collection expressions there is a similar requirement, and the collection expressions proposal extracts the rules from the first phase to an input type inference section to allow adding a recursive inference rule for collection expression elements. |
Thanks for this - we will (each) take a look when we are feeling brave enough to venture once more into the type inference spec. |
@RexJaeschke Given that this affects the v8 spec (as well as the v7 spec), would it be helpful to milestone this to keep track of everything that needs to be done for the current spec version? |
Is this issue a duplicate of #1155, or something to cover simultaneously? |
@jnm2 Done! |
The Roslyn compiler allows type inference from element expressions within tuple literal arguments.
However, it looks like 12.6.3 Type inference only covers inference from the tuple argument type, not from the tuple element expressions.
The text was updated successfully, but these errors were encountered: