Skip to content
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

update extension methods specification to allow leading context parameters #13027

Closed
unkarjedy opened this issue Jul 7, 2021 · 0 comments · Fixed by #13079
Closed

update extension methods specification to allow leading context parameters #13027

unkarjedy opened this issue Jul 7, 2021 · 0 comments · Fixed by #13079
Assignees

Comments

@unkarjedy
Copy link
Contributor

current spec is out of date after this change #10940
https://dotty.epfl.ch/docs/reference/syntax.html

Extension         ::=  ‘extension’ [DefTypeParamClause] ‘(’ DefParam ‘)’
                       {UsingParamClause} ExtMethods
@odersky odersky self-assigned this Jul 8, 2021
odersky added a commit to dotty-staging/dotty that referenced this issue Jul 15, 2021
Allow leading using parameter clauses. This aligns spec and actual parser.

Fixes scala#13027
BarkingBad pushed a commit to BarkingBad/dotty that referenced this issue Jul 23, 2021
Allow leading using parameter clauses. This aligns spec and actual parser.

Fixes scala#13027
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants