Skip to content

Conversation

@Duhemm
Copy link
Contributor

@Duhemm Duhemm commented Aug 27, 2018

When doing a rename on a class, we used to rename the class and its
constructor, which yield to incorrect code as shown in #4995.

Similarly, finding the references of a class also shows the constructor.

To fix this issue, we omit constructors when finding the references.

Duhemm added 2 commits August 27, 2018 11:45
When doing a rename on a class, we used to rename the class and its
constructor, which yield to incorrect code as shown in scala#4995.

Similarly, finding the references of a class also shows the constructor.

To fix this issue, we omit constructors when finding the references.
@odersky odersky merged commit c9cae24 into scala:master Aug 30, 2018
@Blaisorblade Blaisorblade deleted the fix/4995 branch August 30, 2018 23: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