I think analogous to the reasoning in https://issues.scala-lang.org/browse/SI-7402 and https://issues.scala-lang.org/browse/SI-7403, Either and Try should extend Product and Serializable itself too.
If we agree that this is the right thing to do, I'll fix it. Tickets: https://issues.scala-lang.org/browse/SI-9173 https://issues.scala-lang.org/browse/SI-9174
(Maybe it would make sense to have some lint warning for this, which says "you have a sealed hierarchy, and here are the parents of all subtypes which are not a parent of the sealed root of this hierarchy: ..."?)
(Maybe it would make sense to have some lint warning for this, which says "you have a sealed hierarchy, and here are the parents of all subtypes which are not a parent of the sealed root of this hierarchy: ..."?)
I think analogous to the reasoning in https://issues.scala-lang.org/browse/SI-7402 and https://issues.scala-lang.org/browse/SI-7403, Either and Try should extend Product and Serializable itself too.
If we agree that this is the right thing to do, I'll fix it. Tickets: https://issues.scala-lang.org/browse/SI-9173 https://issues.scala-lang.org/browse/SI-9174