Skip to content

Commit

Permalink
fix #2150
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Jan 28, 2013
1 parent e2318cd commit bda9432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ function whos(m::Module, pattern::Regex)
end
whos() = whos(r"")
whos(m::Module) = whos(m, r"")
whos(pat::Regex) = whos(ccall(:jl_get_current_module, Module, ()), pat)
whos(pat::Regex) = whos(ccall(:jl_get_current_module, Any, ())::Module, pat)

function show{T}(io::IO, x::AbstractArray{T,0})
println(io, summary(x),":")
Expand Down

0 comments on commit bda9432

Please sign in to comment.