Scala 3 uses _ for kind projector and ? for existential wildcards, but supports the old */_ for compatibility with Scala 2.
I just discovered that Scala 2.12 and 2.13 can also be configured to use the new syntax.
https://github.com/typelevel/kind-projector#inline-underscore-syntax
One of the goals of sbt-typelevel v0.5.0 is to configure scalac so that it behaves more like "true" Scala 3. So I feel very tempted to make this change. We're already using the new syntax in Scala 3-only builds which has been a source of confusion when removing Scala 2 from the cross versions.
However this is a somewhat drastic change already into the RC cycle and will require a lot of existing code to be rewritten, I'm not sure how well find-replace could work.
Thoughts?
Scala 3 uses
_for kind projector and?for existential wildcards, but supports the old*/_for compatibility with Scala 2.I just discovered that Scala 2.12 and 2.13 can also be configured to use the new syntax.
https://github.com/typelevel/kind-projector#inline-underscore-syntax
One of the goals of sbt-typelevel v0.5.0 is to configure scalac so that it behaves more like "true" Scala 3. So I feel very tempted to make this change. We're already using the new syntax in Scala 3-only builds which has been a source of confusion when removing Scala 2 from the cross versions.
However this is a somewhat drastic change already into the RC cycle and will require a lot of existing code to be rewritten, I'm not sure how well find-replace could work.
Thoughts?