We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adbf639 commit 1a50c45Copy full SHA for 1a50c45
tests/neg/i3470.scala
@@ -0,0 +1,4 @@
1
+trait Factory[T <: Int]{
2
+ def size: T
3
+ def create: Array[T] = Array.ofDim(size) // error
4
+}
0 commit comments