scalacenter / scastie

An interactive playground for Scala
https://scastie.scala-lang.org
Apache License 2.0
431 stars 105 forks source link

Don't use CrossVersion.for3Use2_13 in Scala.js #1054

Open JD557 opened 7 months ago

JD557 commented 7 months ago

Fix #1024

This seems to be enough and, from my tests, both code compiled with Scala 3 and Scala 2.13 now works as expected.

I'm not sure if there's anything that I could have done to allow one to optionally use CrossVersion.for3Use2_13, but one can always just compile with 2.13 if that's the case.