-
I have the following graph structure:
``` scala
abstract class Node
case class NonLeaf(refs: Seq[Node]) extends Node
case class Leaf(value: Int) extends Node
```
When I try to pickle, I get the foll…
-
It seems that the reflection that is needed for unpickling to AnyRef will create a new instance of the case object, which gives us two singletons of the same type:
``` scala
sealed trait Drink
case …
-
The gist at https://gist.github.com/simbo1905/facb9cef0e8ceabb3715 shows a cut down version of code which causes the jvm to crash on my mac with:
```
A fatal error has been detected by the Java Run…
-
When pickling a lot of small objects in parallel, I see a lot of contention on `internal.GRL`, especially in `functions.scala:29`.
-
## Compiler version
348729e88e7
## Minimized code
```Scala
// tests/pos/tasty-no-address.scala
import scala.annotation.Annotation
class myRefined[T](f: T => Boolean) extends Annotation
…
-
Hello. I'm new to this project and just tried to test Scala pickling for possible use in a medium-sized NLP project (c. 32,000 lines of code). Scala pickling looks like an awesome project and I'd love…
-
See https://github.com/scala/pickling/issues/329 / https://github.com/playframework/playframework/pull/4369 for my advice on how to write tests to demonstrate the issue and how to fix it.
-
I'm trying to pickle a more complex case class, (nested over 4 levels with Map's, List's and Case Objects based types). When using dynamic pickling the compilation fails with an out of memory error af…
-
## Compiler version
3.3.3
## Minimized code
```Scala
import scala.reflect.TypeTest
object Foo {
opaque type Opaque[T] = Option[T]
def newOpaque[T]: Opaque[T] = Option.empty[T]
gi…
-
## minimized code
```Scala
type Opt[A] = A | Null
object Opt {
given ops as AnyRef {
inline def [A, B](inline lhs: Opt[A]) map (inline rhs: A => B): Opt[B] = ${ mapMacro('lhs, 'rhs) }
…