dotc makes every single object
extend java.io.Serializable
, which it shouldn't.
#9596
Labels
object
extend java.io.Serializable
, which it shouldn't.
#9596
Minimized code
Output
Expectation
I expect
Test
not to extendjava.io.Serializable
. It was not asked for in the source code.scalac does not make objects
java.io.Serializable
like that.This is very problematic for Scala.js because JS objects cannot extend
java.io.Serializable
, which is a Scala class.The text was updated successfully, but these errors were encountered: