We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3cca47 commit 9eaa220Copy full SHA for 9eaa220
tests/init/neg/cold-insert-hot-array.scala
@@ -0,0 +1,5 @@
1
+object A:
2
+ def foo[T](x: T, array: Array[T]): Unit = array(0) = x
3
+ var a = Array.apply(1, 2, 3)
4
+ foo(i, a)
5
+ val i = 99
0 commit comments