Scala 2 erasure drops the generic type T
in the presence of Array[T]
#13065
Labels
fixed in Scala 3
This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)
Reproduction steps
Scala version:
2.13.15
Problem
The genric signature in the bytecode should include the generic type
T
. Currently, it is not the case:Scala 3 does a better job here:
The text was updated successfully, but these errors were encountered: