In (1 until 10) == Nil we now get the error: Values of types scala.collection.immutable.Range and scala.collection.immutable.Nil cannot be compared with == or != This happens only if we compare `Range` with a `Seq[Nothing]`. We should figure out why. Test case in run/t3529.scala.