Skip to content

Commit 111f805

Browse files
committed
remove show for old tuple-based VarName
1 parent fc53f29 commit 111f805

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/varname.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,6 @@ Base.:(==)(x::VarName, y::VarName) = getsym(x) == getsym(y) && getindexing(x) ==
128128
Base.:(vn::VarName{sym,<:IdentityLens}, lens::Lens) where {sym} = VarName{sym}(lens)
129129
Base.:(vn::VarName{sym,<:Lens}, lens::Lens) where {sym} = VarName{sym}(vn.indexing lens)
130130

131-
function Base.show(io::IO, vn::VarName{<:Any, <:Tuple})
132-
print(io, getsym(vn))
133-
for indices in getindexing(vn)
134-
print(io, "[")
135-
join(io, map(prettify_index, indices), ",")
136-
print(io, "]")
137-
end
138-
end
139-
140131
function Base.show(io::IO, vn::VarName{<:Any, <:Lens})
141132
print(io, getsym(vn))
142133
_print_application(io, vn.indexing)

0 commit comments

Comments
 (0)