invalid generic signature for type params bounded by primitive #9846
Labels
backend
bytecode
erasure
fixed in Scala 3
This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)
Milestone
scala code:
the generic signature looks like this:
which is invalid, java generics don't abstract over primitives. the following java code compiles:
but fails to run
The text was updated successfully, but these errors were encountered: