Closed scabug closed 7 years ago
Imported From: https://issues.scala-lang.org/browse/SI-10168?orig=1 Reporter: David Barri (japgolly) Affected Versions: 2.12.0, 2.12.1 See #10140 Attachments:
David Barri (japgolly) said: Hello. This regression prevents me from releasing the upcoming redesign of scalajs-react for Scala 2.12. I'd really, really like to get it fixed in 2.12.2. Is there anything I can do to help that happen?
@SethTisue said: this is a duplicate of #10140, isn't it?
David Barri (japgolly) said: Oh well spotted, I missed that. Yes it is!
It also provides a simple workaround by moving the type alias out into its own class/trait. Fantastic! Urgency *= 0.1. Thank you.
I'll close this now.
The attached file compiles fine with 2.11.8 but results in 4 errors using 2.12.0 and 2.12.1:
WithIdClass is a copy-paste of WithIdTypeAlias with only the Id definition changed. When Id is a class and not a type alias, it compiles without error in 2.12.x.