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
Compiled from "ConfigBoolean.scala"
public finalclassorg.ekrich.config.impl.ConfigBooleanextends org.ekrich.config.impl.AbstractConfigValue implements java.io.Serializable {
private static final long serialVersionUID;
privatefinal java.lang.Boolean value;
...
}
We need to emit a static `serialVersionUID` field when this annotation
is used, but we were missing the logic in DottyBackendInterface to
actually retrieve the value of the annotation. I also updated
BCodeHelpers to emit the field as private like scalac does since
scala/scala@7f20b1c
minimized code
expectation
Generate bytecode similar to Scala 2.
As seen with
javap -p -c ConfigBoolean.class
As seen with Dotty
0.18.1-RC1
code reference
https://github.com/lampepfl/dotty/blob/102eccd3edc42bf145baba4a44d3a69c6babd68b/compiler/src/dotty/tools/backend/jvm/DottyBackendInterface.scala#L794
blocker
Apparently,
Config
's need to be able to be serialized so the tests involving serialization do not pass.https://github.com/ekrich/sconfig
The text was updated successfully, but these errors were encountered: