Skip to content

Commit

Permalink
Fix tests on nightly (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy authored Mar 26, 2020
1 parent 00cf83f commit 4dc2310
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ To create a `ModuleExprsSigs` from a source file, see [`Revise.parse_source`](@r
"""
const ModuleExprsSigs = OrderedDict{Module,ExprsSigs}

Base.typeinfo_prefix(io::IO, mexs::ModuleExprsSigs) = string(typeof(mexs).name)
if VERSION >= v"1.5.0-DEV.472"
Base.typeinfo_prefix(io::IO, mexs::ModuleExprsSigs) = string(typeof(mexs).name), true
else
Base.typeinfo_prefix(io::IO, mexs::ModuleExprsSigs) = string(typeof(mexs).name)
end

"""
fm = ModuleExprsSigs(mod::Module)
Expand Down

0 comments on commit 4dc2310

Please sign in to comment.