amnaredo / test

0 stars 0 forks source link

knownDirectSubclasses of Bool observed before subclass False registered #240

Open amnaredo opened 3 years ago

amnaredo commented 3 years ago

And also knownDirectSubclasses of Bool observed before subclass True registered

I added "com.lihaoyi" %% "ujson" % "0.7.1" dependencies to an existing scala 2.11 project and received this compilation error:

[error] knownDirectSubclasses of Bool observed before subclass False registered
[error] knownDirectSubclasses of Bool observed before subclass True registered
[error] two errors found
[error] (Compile / compileIncremental) Compilation failed

I upgraded to Scala 2.12.7 and the error persists.

I created a new project with ujson as the only dependency and there is no error. I'm currently trying to isolate the change that causes it. In the meantime, any hints would be appreciated. ID: 253 Original Author: Synesso

amnaredo commented 3 years ago

The error occurred because I was trying to serialise objects that contained Values using BooPickle. Original Author: Synesso