Comments (19)
Just a note to let you know that this is not forgotten, but that it probably won't come in the 0.8.0 release. Instead, it'll probably be handled in the 0.8.1 release which should come shortly after 0.8.0 (a matter of days/weeks most likely).
from pickling.
OK, thanks for noticing
from pickling.
Any update on this?
from pickling.
+1
from pickling.
+1
from pickling.
+1
from pickling.
+1
from pickling.
+9000
from pickling.
9000?! There's no way that can be right! It can't!
But, seriously, +1.
from pickling.
+1
from pickling.
Hey guys, this turns out to be part of a class of bugs relating to Java .class
files and the scala symbol loader. We'll have to add very specific support for enum
in the future. For now you HAVE to provide custom Pickler/Unpickler for these types.
In fact, in 0.11.x we'll no longer allow a pickler to be generated by the macros because we know our information about Java classes is suspect.
from pickling.
Oh, and also I should check: Is this a java enum or a Scala enum?
from pickling.
@jsuereth - I'm primarily interested in scala.Enumeration
values.
from pickling.
+1 scala.Enumeration
does anybody have a working example of a custom un/pickler ?
from pickling.
+1 Scala enum
from pickling.
👍
from pickling.
+1
from pickling.
👍
from pickling.
+1
from pickling.
Related Issues (20)
- Improve performance of implicit search HOT 3
- StaticOnly should be enabled by default HOT 2
- Refined types should be supported HOT 1
- Cut first milestone release HOT 13
- Add picklers and unpickler for Nothing HOT 1
- Variadic arguments for case class HOT 4
- Remove patmat warnings HOT 1
- Can't unpickle ValueSet HOT 2
- Pickling 0.10.2-SNAPSHOT for Scala 2.10
- Compile time serialisation failing for nested case classes with Scala 2.10.6 HOT 2
- Error when saving a Map of Int and a Composite
- java.lang.VerifyError: Bad type on operand stack while encapsulating Pickler
- Some macro in PicklerUnpickler is not serializable
- Deserialization in incorrect type
- Consider dropping or updating the link to http://lampwww.epfl.ch/~hmiller/pickling
- Unpickle without specifying type HOT 1
- Is this project abandoned? HOT 14
- Incorrect handling of Option[xxx] if None HOT 13
- val from trait not pickled
- Pickling fails with a weird issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pickling.