Skip to content

Conversation

@ahejlsberg
Copy link
Member

Fixes #39607.

@DanielRosenwasser
Copy link
Member

Is it worth having an ElementFlags.Individual to describe something that's just not a rest element?

@ahejlsberg ahejlsberg merged commit db79030 into master Jul 16, 2020
@ahejlsberg ahejlsberg deleted the variadicInferenceOptionalToNonOptional branch July 16, 2020 00:46
@ahejlsberg
Copy link
Member Author

Is it worth having an ElementFlags.Individual to describe something that's just not a rest element?

I was close to adding an ElementFlags.Fixed for the ElementFlags.Required | ElementFlags.Optional combination, but not sure it adds a lot of clarity.

@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No variadic tuple inference from trailing optional to non-optional

3 participants