Replies: 1 comment 4 replies
-
I'll contact the compiler devs about it. For now I am not touching this - it could be solved with e.g. replacing each final def transformInto[To](implicit transformer: Transformer.AutoDerived[From, To]): To =
transformer.transform(source) with inline def transformInto[To]: To = summonFrom {
case transformer: Transformer[From, To] => transformer.transform(source)
case _ => Transformer.AutoDerived.derive
} or similar, but that would break binary compatibility, bumping version to 2.0.0... I'm going to delay that until I get more info from the compiler team. In the meantime - these warnings and priorities should only be for |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not an issue right now, but probably going to be in the near future...
https://www.scala-lang.org/2024/08/19/given-priority-change-3.7.html
I've turned on -source 3.6 and now I'm seeing these warnings:
Right now I have a transformer instance defined (unnamed given) in the companion object of
Foo
(different source) and I have dsl.* imported at the callsite.Beta Was this translation helpful? Give feedback.
All reactions