Closed
Description
The code:
object Test {
def main(args: Array[String]) = {
val arr = Array.ofDim[Int](2)
}
}
Should produce something containing:
Code:
0: iconst_5
1: bipush 10
3: multianewarray #2, 2 // class "[[I"
7: astore_1
8: return
But produces the following:
Code:
0: getstatic #23 // Field scala/Array$.MODULE$:Lscala/Array$;
3: pop
4: iconst_2
5: newarray int
7: checkcast #25 // class "[I"
10: areturn
As such, #1188 does not seem to be working properly. I'd like to have a look at this tomorrow, ping @sjrd
Metadata
Metadata
Assignees
Labels
No labels