Skip to content

Imply @infix annotation for dotless extension methods #8308

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

Merged
merged 3 commits into from
Feb 13, 2020

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Feb 13, 2020

If an alphanumeric extension method is defined without a .,
add an @infix annotation.

If an alphanumeric extension method is defined without a `.`,
add an @infix annotation.
Generating it as a typed tree will lead to a duplicate class `annotation.infix`
on bootstrap.

Also, update a check file to report the inserted @infix annotation.
@odersky odersky merged commit 1172795 into scala:master Feb 13, 2020
@odersky odersky deleted the change-infix-x branch February 13, 2020 13:55
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.

2 participants