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
typeTag fails when non-root scala package in scope #9397
Comments
Imported From: https://issues.scala-lang.org/browse/SI-9397?orig=1
|
@retronym said (edited on Jul 21, 2015 12:32:39 AM UTC):
I suspect this is the first culprit:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a package named scala that is not the root scala package is in scope, root.scala.reflect.runtime.universe.typeTag fail with a "No TypeTag available for T" exception, where T is the type argument. An example of T is String. I suspect that other reflection methods have the same problem.
The attached project demonstrates the problem.
The text was updated successfully, but these errors were encountered: