Skip to content

Commit 7bf98b4

Browse files
committed
Remove some unused code.
1 parent c013979 commit 7bf98b4

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/operations.jl

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,6 @@ function ref_from_expr(ex::Expr)
5151
end
5252
end
5353

54-
function Base.:(==)(x::ArrayReference, y::Expr)::Bool
55-
ya, yinds = if y.head === :ref
56-
ref_from_ref(y)
57-
elseif y.head === :call
58-
f = first(y.args)
59-
if f === :getindex
60-
ya, yinds = ref_from_getindex(y)
61-
elseif f === :setindex!
62-
ya, yinds = ref_from_setindex(y)
63-
else
64-
return false
65-
end
66-
else
67-
return false
68-
end
69-
x.array == ya || return false
70-
end
7154
Base.:(==)(x::ArrayReference, y::ArrayReferenceMeta) = x == y.ref
7255
Base.:(==)(x::ArrayReferenceMeta, y::ArrayReference) = x.ref == y
7356
Base.:(==)(x::ArrayReference, y) = false

0 commit comments

Comments
 (0)