Skip to content
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

rename method of import returns null, contrary to documentation #9305

Open
scabug opened this issue May 11, 2015 · 2 comments
Open

rename method of import returns null, contrary to documentation #9305

scabug opened this issue May 11, 2015 · 2 comments

Comments

@scabug
Copy link

scabug commented May 11, 2015

I am writing a WartRemover plugin - WartRemover is a compiler plugin that runs after the typer phase of scalac. The scaladoc for scala.reflect.api.Trees.ImportSelector says that the rename method "Is equal to name if it's not a renaming import." But in fact (for the wildcard import I'm looking at) it's equal to null.

@scabug
Copy link
Author

scabug commented May 11, 2015

Imported From: https://issues.scala-lang.org/browse/SI-9305?orig=1
Reporter: Robin Green (ST_robin_green)
Affected Versions: 2.11.6

@scabug
Copy link
Author

scabug commented May 21, 2015

@adriaanm said:
BTW, we <3 https://github.com/scala/scala-abide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants