Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate between Core.Nothing and Core.Void #218

Closed
simonster opened this issue Feb 28, 2015 · 1 comment
Closed

Translate between Core.Nothing and Core.Void #218

simonster opened this issue Feb 28, 2015 · 1 comment

Comments

@simonster
Copy link
Member

@timholy added code to perform special serialization of Nothing/Void, but we're still reconstructing these types when reading JLD files created with older versions of JLD instead of mapping them to their new names (e.g. JuliaLang/julia#10289). We could do this with a regexp hack like what we have for UInt, but it would be better to have a general solution that doesn't have the potential to cause problems with user-defined types. The same probably holds for String/AbstractStrings. Related to #204.

@timholy
Copy link
Member

timholy commented Feb 28, 2015

Yes, I've been also thinking we need a general translation infrastructure. Might also help with #209.

simonster added a commit that referenced this issue Apr 24, 2015
On 0.4, we can't differentiate between these and tuples of types that
were saved by earlier versions of Julia. In earlier versions of Julia,
such tuples were not bits typed so they would not have been usable
anyway. We can revisit this when we're ready to change the file format
(perhaps as part of #204/#218)
simonster added a commit that referenced this issue Apr 25, 2015
Converts between Tuple{} and () types depending on Julia version. Also
fixes #218
simonster added a commit that referenced this issue Apr 25, 2015
On 0.4, we can't differentiate between these and tuples of types that
were saved by earlier versions of Julia. In earlier versions of Julia,
such tuples were not bits typed so they would not have been usable
anyway. We can revisit this when we're ready to change the file format
(perhaps as part of #204/#218)
simonster added a commit that referenced this issue Apr 25, 2015
On 0.4, we can't differentiate between these and tuples of types that
were saved by earlier versions of Julia. In earlier versions of Julia,
such tuples were not bits typed so they would not have been usable
anyway. We can revisit this when we're ready to change the file format
(perhaps as part of #204/#218)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants