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
{{ message }}
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.
I'm trying to serialize an object to JSON using scala-pickling 0.10.1 and Scala 2.11, but am having a very strange issue. I've replicated a minimal example below:
However, if I remove or comment out var compressionCodecFactory1: CompressionCodecFactory = _ within the trait foo, it compiles and pickles perfectly. I've also tried adding the @transient notation to this var, but it fails with the same error.
Why could this possibly be happening?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to serialize an object to JSON using scala-pickling 0.10.1 and Scala 2.11, but am having a very strange issue. I've replicated a minimal example below:
However, if I remove or comment out
var compressionCodecFactory1: CompressionCodecFactory = _
within the traitfoo
, it compiles and pickles perfectly. I've also tried adding the@transient
notation to this var, but it fails with the same error.Why could this possibly be happening?
The text was updated successfully, but these errors were encountered: