We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f94deac + 3914f99 commit 79d36c6Copy full SHA for 79d36c6
tests/neg/4376.scala
@@ -0,0 +1,6 @@
1
+object App {
2
+ type Id[A] >: A <: A
3
+
4
+ val a: Array[_ >: Id[_ <: Int]] =
5
+ (Array.ofDim[String](1) : Array[_ >: Id[Nothing]]) // error
6
+}
0 commit comments