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
I am facing a compilation issue on avro generated code when updating my scala application using sbt-avrohugger library.
My versions :
scala 2.13.8
sbt 1.6.2
sbt-avrohugger 2.2.0
Here is an exemple of the failing code :
[error] .../target/scala-2.13/src_managed/main/compiled_avro/com/qosenergy/qng/models.scala:319:9: match may not be exhaustive.
[error] It would fail on the following input: (x: Any forSome x not in Long)
[error] value match {
[error] ^
coming from this generated code :
generated from this avro exerpt :
Do you know how to solve this compilation issue ?
The text was updated successfully, but these errors were encountered:
Thanks for reporting, the timeline for a fix is pretty far off, but as a workaround you may like to try turning off your linter, or else look into silencing your target directory: scala/scala#8373
Hello,
I am facing a compilation issue on avro generated code when updating my scala application using sbt-avrohugger library.
My versions :
Here is an exemple of the failing code :
coming from this generated code :
generated from this avro exerpt :
Do you know how to solve this compilation issue ?
The text was updated successfully, but these errors were encountered: