I accidentally wrote this line of code:
scala> val f = Int f: Int.type = object scala.Int
Seems to work for every AnyVal subtype except AnyVal itself.
Is there anything I can use f for or is it just a detail of the Scala leak implementation?
source share