Skip to content

Give point position to synthetic class parent #5410

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 1 commit into from
Nov 8, 2018

Conversation

Duhemm
Copy link
Contributor

@Duhemm Duhemm commented Nov 8, 2018

Classes that extend only traits are given a synthetic parent class. The
position that is given to this parent is now synthetic.

This prevents the extends <parent> to be selected by mistake by the
IDE.

Classes that extend only traits are given a synthetic parent class. The
position that is given to this parent is now synthetic.

This prevents the `extends <parent>` to be selected by mistake by the
IDE.
@odersky odersky merged commit 4b50294 into scala:master Nov 8, 2018
@Duhemm Duhemm deleted the fix/ide-anon-classes branch November 8, 2018 14:41
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