Open japgolly opened 2 years ago
Have just run into https://github.com/lampepfl/dotty-feature-requests/issues/307 on the Scala 3 side. This is effectively a blocker because workarounds would need to be applied at call-site (i.e. users' code). Worse is that there's no way to detect when we're running up against this bug; it will just silently generate incorrect code. 🤢
Note to self: add as JS RR test with custom hooks to confirm how it's handled in plain JS
Reminder: Try again to reproduce the Scala 3 lazy val bug now that I fiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiinally know it's related to betaReduction
Create a Scala.js issue to elide those useless props.a;
statements
Edit: Done. Raised https://github.com/scala-js/scala-js/issues/4692
Closes #1061