JuliaIO / JLD.jl

Saving and loading julia variables while preserving native types
MIT License
277 stars 55 forks source link

Can't save NamedTuple #241

Closed fredcallaway closed 5 years ago

fredcallaway commented 5 years ago

JLD.save("test.jld", "foo", (x=1, y=2)) fails with the error "ERROR: type parameters with objects of type Tuple{Symbol,Symbol} are currently unsupported"

Seeing as how prominent NamedTuples are, this seems like a pretty big missing feature. Would this be really hard to patch?

Datseris commented 5 years ago

bump

JMmontilla commented 5 years ago

Has it been fixed? I'm trying to do the same and I still get the same error.