Skip to content

Commit 6068a48

Browse files
authored
fix showing variables of type Nothing (#95)
1 parent 6d582e3 commit 6068a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JuliaInterpreter.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ struct Variable
173173
name::Symbol
174174
isparam::Bool
175175
end
176-
Base.show(io::IO, var::Variable) = print(io, var.name, " = ", var.value)
176+
Base.show(io::IO, var::Variable) = (print(io, var.name, " = "); show(io,var.value))
177177
Base.isequal(var1::Variable, var2::Variable) =
178178
var1.value == var2.value && var1.name == var2.name && var1.isparam == var2.isparam
179179

0 commit comments

Comments
 (0)