Skip to content

Commit eefbe92

Browse files
committed
use pprint v0.2
1 parent aa41b76 commit eefbe92

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
88
PrettyPrint = "8162dcfd-2161-5ef2-ae6c-7681170c5f98"
99

1010
[compat]
11-
julia = "1"
1211
DataStructures = "^0.17"
1312
PrettyPrint = "^0.2"
13+
julia = "1"
1414

1515
[extras]
1616
PrettyPrint = "8162dcfd-2161-5ef2-ae6c-7681170c5f98"

src/Pretty.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ Base.show(io::IO, v::LocalVar) = begin
22
print(io, "LocalVar($(v.sym), is_mutable=$(v.is_mutable.x), is_shared=$(v.is_shared.x))")
33
end
44

5+
PrettyPrint.is_atom_t(::Type{LocalVar}) = true
6+
57
Base.show(io::IO, scope :: Scope) = pprint(io, scope)

0 commit comments

Comments
 (0)