This repository was archived by the owner on Feb 20, 2019. It is now read-only.
This repository was archived by the owner on Feb 20, 2019. It is now read-only.
Compilation error when using shareNothing import and binary output streams #376
Open
Description
The following code produces a compiler error
import scala.pickling._, scala.pickling.Defaults._
import scala.pickling.binary._
import scala.pickling.shareNothing._
class Tester {
val vec = "hello world"
val output = new ByteArrayOutput(1024)
vec.pickleTo(output)
}
Here's the error produced :
Error:(14, 15) type mismatch;
found : <notype>
required: Unit
vec.pickleTo(output)
^
When pickling to json output it compiles fine