Skip to content

Commit f9fa387

Browse files
authored
Merge pull request #24 from TuringLang/tor/varname-show-fix
Fix for bug introduced in #22
2 parents f37b9c4 + 30aa890 commit f9fa387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/varname.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function Base.show(io::IO, vn::VarName)
9393
print(io, getsym(vn))
9494
for indices in getindexing(vn)
9595
print(io, "[")
96-
join(io, map(replace_colon_string, indices), ",")
96+
join(io, map(prettify_index, indices), ",")
9797
print(io, "]")
9898
end
9999
end

0 commit comments

Comments
 (0)