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

Fix a bug that occurs because Future is a stdlib but also a type #166

Merged
merged 2 commits into from
Nov 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "JLD2"
uuid = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
version = "0.1.7"
version = "0.1.8"

[deps]
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
Expand Down
5 changes: 4 additions & 1 deletion src/stdlib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ function stdlibmodules(m::Module)::Vector{Module}
for x in values(stdlib())
s = Symbol(x)
if isdefined(m, s)
push!(result, getproperty(m, s))
m_dot_s = getproperty(m, s)
if m_dot_s isa Module
push!(result, m_dot_s)
end
end
end
return result
Expand Down