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 3433789Copy full SHA for 3433789
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