Open KristianAN opened 6 months ago
More about the change is here: https://docs.scala-lang.org/scala3/reference/dropped-features/this-qualifier.html This seems to be related to https://github.com/guardrail-dev/guardrail/blob/master/modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sGenerator.scala in my case.
Since the change changes the semantics of the program the easiest fix is maybe to just change from
private[this]
to
private[Http4sGenerator]
The generated code will now cause the Scala 3.4.x compiler to emit the warning: