Skip to content

Conversation

capfredf
Copy link
Member

For a function that has optional parameter types [t1, t2, t_i ... t_n], if each
of [t_i ... t_n] is a supertype of the first rest parameter type, add to the
resulting the function type one arrow with [t_i ... t_n] being absorbed into
the rest.

@capfredf capfredf marked this pull request as draft November 19, 2020 15:38
For a function that has optional parameter types [t1, t2, t_i ... t_n], if each
of [t_i ... t_n] is a supertype of the first rest parameter type, add to the
resulting the function type one arrow with [t_i ... t_n] being absorbed into
the rest.
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.

1 participant