We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
object Foo { def main(args: Array[String]): Unit = { println(implicitly[reflect.ClassTag[Unit]]) println(implicitly[reflect.ClassTag[Unit]].getClass) } }
on Dotty prints
scala.runtime.BoxedUnit class scala.reflect.ClassTag$GenericClassTag
and on scalac prints
Unit class scala.reflect.ManifestFactory$$anon$14
The text was updated successfully, but these errors were encountered:
We also do not encode correctly class tags for Any and AnyVal
Any
AnyVal
Sorry, something went wrong.
Fix scala#4205: Select ClassTag directly for Unit, Any and AnyVal
878758a
6080d06
nicolasstucki
No branches or pull requests
on Dotty prints
and on scalac prints
The text was updated successfully, but these errors were encountered: