Skip to content

Avoid crashes on double definitions #719

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 5 commits into from
Jul 20, 2015

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jul 9, 2015

No description provided.

odersky added 5 commits July 9, 2015 16:53
Creates a fresh name by appending a $N suffix. Takes care
of unwrapping/rewrapping module class suffixes.
If a name clash is detected, the a fresh name is chosen instead.
Previously, test file clashes.scala caused a crash because of a
duplicate name in enter. That is now avoided.
@odersky
Copy link
Contributor Author

odersky commented Jul 19, 2015

@DarkDimius Please review

@DarkDimius
Copy link
Contributor

LGTM

DarkDimius added a commit that referenced this pull request Jul 20, 2015
Avoid crashes on double definitions
@DarkDimius DarkDimius merged commit d07e5d1 into scala:master Jul 20, 2015
@allanrenucci allanrenucci deleted the fix/doubledefs branch December 14, 2017 19:22
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.

4 participants