diff options
Diffstat (limited to 'tests/pos/t1843.scala')
-rw-r--r-- | tests/pos/t1843.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/pos/t1843.scala b/tests/pos/t1843.scala index 5e8554a93..871b21346 100644 --- a/tests/pos/t1843.scala +++ b/tests/pos/t1843.scala @@ -3,10 +3,9 @@ * ... Or Will It? * */ - object Crash { - trait UpdateType[+A] - case class StateUpdate[+A](updateType : UpdateType[A], value : A) + trait UpdateType[A] + case class StateUpdate[A](updateType : UpdateType[A], value : A) case object IntegerUpdateType extends UpdateType[Integer] //However this method will cause a crash |