Closed
Description
In object Stream
, there is a class Cons
and an object cons
.
This happens not to cause any issue on the JVM, even on Windows. That's because Stream$cons$
being a nested object
, scalac does not generate static forwarders for it in Stream$cons
. However Scala.js generates more static forwarders, to be able to correctly define static methods in nested static classes of JDK APIs.
This basically prevents from building Scala.js 1.x with 2.13.x on Windows.
I don't know what to do about this, given the binary compat guarantees. 😰