Skip to content

Commit 12bdca9

Browse files
authored
Keep ∇getindex function stub to avoid downstream breakage
1 parent e1b5e0c commit 12bdca9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/deprecated.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,9 @@ macro nograd(ex)
6565
end
6666
return blk
6767
end
68+
69+
# Internal function used by some downstream packages.
70+
# Removing this completely would require some tricky registry changes,
71+
# but leaving it as a vestigial function is much easier.
72+
# See https://github.com/FluxML/Zygote.jl/pull/1328 for more context.
73+
function ∇getindex end

0 commit comments

Comments
 (0)