Revision eccf77683b56bed051d28d75f0714513e16c76f9 authored by Matt Bauman on 23 July 2020, 00:42:19 UTC, committed by Jeff Bezanson on 23 July 2020, 00:43:07 UTC
Followup to #36739 (and currently built atop it), this restores the `pointer(::SubArray{<:Any,<:Any,<:Array,<:Tuple{Vararg{RangeIndex}}}, ::Tuple)` method that was removed in #36405. It does so, however, as a deprecated method, with the actual method being implemented on `(::SubArray{...}, ::CartesianIndex)`. The rationale here is because the `::Tuple` method was undocumented and only supported on that one _highly_ specific `SubArray` type. I am keeping this patch as minimal as possible for backporting; in the future I aim to support `Vararg{CartesianIndex, Integer}` locations to make this more `getindex`-y and move farther away from the conflation with memory offsets. (cherry picked from commit d9b7d7e6ee1c26161cd601ccf4893c6b1206cd6f)
1 parent 81b53a7
File | Mode | Size |
---|---|---|
build | ||
man | ||
src | ||
.gitignore | -rw-r--r-- | 55 bytes |
Makefile | -rw-r--r-- | 1.9 KB |
Manifest.toml | -rw-r--r-- | 2.5 KB |
NEWS-update.jl | -rw-r--r-- | 486 bytes |
Project.toml | -rw-r--r-- | 116 bytes |
README.md | -rw-r--r-- | 900 bytes |
make.jl | -rw-r--r-- | 7.6 KB |
Computing file changes ...