sbt-typelevel icon indicating copy to clipboard operation
sbt-typelevel copied to clipboard

Add option to disable kind projector

Open kubukoz opened this issue 3 years ago • 6 comments

Hi! It'd be nice to have an easy way to disable kind-projector, e.g. for builds of other compiler plugins (so that they can be built for a Scala version KP doesn't support).

kubukoz avatar Sep 19 '22 19:09 kubukoz

Would be good to have a setting for better-monadic-for as well.

armanbilge avatar Sep 19 '22 19:09 armanbilge

Yeah. I'm kind of amazed that it still works for all 2.13 versions, given that it's not cross-compiled for patch releases.

kubukoz avatar Sep 19 '22 19:09 kubukoz

Hmm.. If I'm not mistaken, it became a compiler option in Scala 3, didn't it?

satorg avatar Sep 19 '22 22:09 satorg

Yes... but we're still getting new 2.x versions.

kubukoz avatar Sep 20 '22 01:09 kubukoz

Right.. I'm just thinking about integration with scalac-options and how to address such differences..

satorg avatar Sep 20 '22 01:09 satorg

Right.. I'm just thinking about integration with scalac-options and how to address such differences..

Right, that's gnarly. That's the kind of thing that has to be resolved in sbt-typeleve-settings I think, since scalac-options can't really do anything in this area for Scala 2.

armanbilge avatar Nov 14 '22 04:11 armanbilge