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 c8e7b2a commit 80d23b8Copy full SHA for 80d23b8
tests/neg/t1843-variances.scala
@@ -6,7 +6,7 @@
6
7
object Crash {
8
trait UpdateType[A]
9
- case class StateUpdate[+A](updateType : UpdateType[A], value : A) // error
+ case class StateUpdate[+A](updateType : UpdateType[A], value : A) // error // error
10
case object IntegerUpdateType extends UpdateType[Integer]
11
12
//However this method will cause a crash
0 commit comments