Closed
Description
Convert scala.Cloneable and scala.Serializable to simple type aliases for java.lang.Cloneable and java.io.Serializable.
The current state has caused confusion and a few issues, because the Scala types are subtypes of the Java types, but not the other way around.
To avoid breakage, the compiler should not fail when discovering the same parents iff those parents are Cloneable/Serializable. Instead a warning should be issued, suggesting that the superfluous parent should be dropped.
Jason mentioned another potential incompatibility with overloaded methods: Two methods could become identical after this change. Consensus seems to be that this scenario is highly unlikely – a dbuild run should make sure that such code doesn't exist in the wild.