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 a7b67c4 commit 3914f99Copy full SHA for 3914f99
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