JuliaIO / JLD.jl

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

Error using @save in Main #253

Closed Thuener closed 3 years ago

Thuener commented 5 years ago
using JLD
a = 1
@save "test.jld"

I get the erro: ERROR: LoadError: UndefVarError: current_module not defined

Seems that there is some old 0.6 code here. I will submit a PR.

Thuener commented 5 years ago

I don't know how to create unit tests for this.

ericagol commented 4 years ago

I'm having the same error.

aramirezreyes commented 4 years ago

Bumping this. @simonster, could we have someone check out this Issue/PR?