Skip to content

Commit

Permalink
Don't bother with whos
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Feb 3, 2018
1 parent 227d106 commit d686dba
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1502,19 +1502,19 @@ end
using Base: @code_llvm, @code_lowered, @code_native, @code_typed,
@code_warntype, @edit, @functionloc, @less, @which,
apropos, code_llvm, code_native, code_warntype, edit,
less, methodswith, subtypes, varinfo, versioninfo, whos
less, methodswith, subtypes, versioninfo
export @code_llvm, @code_lowered, @code_native, @code_typed,
@code_warntype, @edit, @functionloc, @less, @which,
apropos, code_llvm, code_native, code_warntype, edit,
less, methodswith, subtypes, varinfo, versioninfo, whos

Base.@deprecate whos(io::IO, m::Module, pat::Regex) show(io, varinfo(m, pat))
Base.@deprecate whos(io::IO, m::Module) show(io, varinfo(m))
Base.@deprecate whos(io::IO) show(io, varinfo())
Base.@deprecate whos(m::Module, pat::Regex) varinfo(m, pat)
Base.@deprecate whos(m::Module) varinfo(m)
Base.@deprecate whos(pat::Regex) varinfo(pat)
Base.@deprecate whos() varinfo()
less, methodswith, subtypes, versioninfo

@static if VERSION >= v"0.7.0-DEV.2582"
using Base: varinfo
export varinfo
else
const varinfo = whos
export varinfo
end
end
else
import InteractiveUtils
Expand Down

0 comments on commit d686dba

Please sign in to comment.