Created
January 16, 2015 18:06
-
-
Save tindzk/5e15c9a809d204a7856b to your computer and use it in GitHub Desktop.
uPickle: FatalError
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main(args: Array[String]) { | |
sealed trait Type | |
object Type { | |
case object A extends Type | |
case object B extends Type | |
} | |
upickle.read[Type]("") | |
} | |
// scala.reflect.internal.FatalError: Unknown type: (Type$module$1: runtime.VolatileObjectRef)test.Main$Type$3.type, (Type$module$1: runtime.VolatileObjectRef)test.Main$Type$3.type [class scala.reflect.internal.Types$MethodType, class scala.reflect.internal.Types$MethodType] TypeRef? false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment