Skip to content

tpd#New: Make constructor TermRefs non-ambiguous #730

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
Jul 19, 2015

Conversation

smarter
Copy link
Member

@smarter smarter commented Jul 16, 2015

Before this change, the prefix of a constructor TermRef was the prefix
of the class, this means that it was possible for two constructors to
have the same prefix, the same name (<init>) and the same signature.
This could cause double binding errors.

Review by @odersky

@odersky
Copy link
Contributor

odersky commented Jul 16, 2015

Otherwise LGTM. Nice to see the simplification this entails.

Before this change, the prefix of a constructor TermRef was the prefix
of the class, this means that it was possible for two constructors to
have the same prefix, the same name ("<init>") and the same signature.
This could cause double binding errors.
@smarter smarter force-pushed the fix/constructor-prefix branch from 8ee09bf to 1f1f1a2 Compare July 16, 2015 15:47
@smarter
Copy link
Member Author

smarter commented Jul 16, 2015

Comment addressed.

@odersky
Copy link
Contributor

odersky commented Jul 17, 2015

/rebuild

odersky added a commit that referenced this pull request Jul 19, 2015
tpd#New: Make constructor TermRefs non-ambiguous
@odersky odersky merged commit 1f45c67 into scala:master Jul 19, 2015
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