Skip to content

unexpandedName needs hardening. #765

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

Closed
odersky opened this issue Aug 21, 2015 · 2 comments
Closed

unexpandedName needs hardening. #765

odersky opened this issue Aug 21, 2015 · 2 comments

Comments

@odersky
Copy link
Contributor

odersky commented Aug 21, 2015

Unexpanded name currently fails for names that have two consecutive '$'s in them. For instance, the super accessor of += in trait T would be encoded as "T$$super$$plus$eq". Its unexpandedName
will then be "plus$eq", where "super$$plus$eq" would have been correct.

odersky added a commit to dotty-staging/dotty that referenced this issue Aug 21, 2015
Avoid using unexpanded name because it can give wrong results for super accessors
of symbolic names. See scala#765. Without this commit t2183.scala crashes the compiler.
@smarter
Copy link
Member

smarter commented Nov 18, 2015

Somewhat related to #30.

@smarter smarter reopened this Apr 20, 2016
@smarter
Copy link
Member

smarter commented Jan 10, 2018

Hopefully fixed by the semantic name PR: #2128

@smarter smarter closed this as completed Jan 10, 2018
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

No branches or pull requests

2 participants