Skip to content

Commit

Permalink
Julia-PR35928 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlapeyre authored Apr 21, 2022
1 parent 433d4ec commit 1032daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CEnum.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Base.print(io::IO, x::Cenum) = print(io, Symbol(x))

function Base.show(io::IO, x::Cenum)
sym = Symbol(x)
if !get(io, :compact, false)
if !get(io, :compact, false)::Bool
from = get(io, :module, Main)
def = typeof(x).name.module
if from === nothing || !Base.isvisible(sym, def, from)
Expand Down

0 comments on commit 1032daf

Please sign in to comment.