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 a3b0f45 commit 2744447Copy full SHA for 2744447
tests/neg/i3470.scala
@@ -0,0 +1,6 @@
1
+object Main {
2
+ abstract class Factory[T <: Int] {
3
+ def size: T
4
+ def create: Array[T] = Array.ofDim(size) // error: No ClassTag available
5
+ }
6
+}
0 commit comments