I have just begun investigating Scala and found the following perplexing quote in the Wikipedia page on Scala:
[Scala] cleans up [...] poor design decisions in Java (e.g. type erasure...
I thought type erasure was a limitation imposed by the Java Virtual Machine, so given that the JVM executes Scala code, how has this been "cleaned up"?
I do appreciate that the designer of Scala also contributed to the JVM, so I am curious to understand if he / the Scala team has augmented the Scala compiler to carry rich run-time type information and thus 'clean up' type erasure. Is this the case?
Thanks in advance for any insight you can provide.