Skip to content

Commit 80d23b8

Browse files
Update neg test
1 parent c8e7b2a commit 80d23b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/neg/t1843-variances.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
object Crash {
88
trait UpdateType[A]
9-
case class StateUpdate[+A](updateType : UpdateType[A], value : A) // error
9+
case class StateUpdate[+A](updateType : UpdateType[A], value : A) // error // error
1010
case object IntegerUpdateType extends UpdateType[Integer]
1111

1212
//However this method will cause a crash

0 commit comments

Comments
 (0)