You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importpureconfig.ConfigReaderimportpureconfig.generic.semiauto._finalcaseclassSomeConfig[C](optVal: Option[C])
implicitdefconfigReader[C:ConfigReader] = deriveReader[SomeConfig[C]] // this will fail to compile
problem
The code compiled just fine with 2.13.4 and it is impossible to compile this with fatal warnings enabled w/o adding @nowarn annotation, what in turn causes issues for 2.12 series cross-compilation, because it reports warning that the annotation suppresses nothing.
The text was updated successfully, but these errors were encountered:
It helped for 2.13.5! Was not aware of this option and it seems that the name changed between 2.12 and 2.13 series. Will do the reading. @som-snytt Thank you a lot! I guess this ticket can be safely closed now. Should I close it myself or would maintainers do the honors?
reproduction steps
Example in scastie - compilation will fail (because fatal warnings are on)
https://scastie.scala-lang.org/xzO1YZ7yR5OSmE1uyMzrrw
using Scala 2.13.5,
problem
The code compiled just fine with 2.13.4 and it is impossible to compile this with fatal warnings enabled w/o adding
@nowarn
annotation, what in turn causes issues for 2.12 series cross-compilation, because it reports warning that the annotation suppresses nothing.The text was updated successfully, but these errors were encountered: