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
History
File Mode Size
mac
windows
README.md -rw-r--r-- 3.3 KB
add_license_to_files.jl -rw-r--r-- 6.8 KB
check-whitespace.sh -rwxr-xr-x 791 bytes
commit-name.sh -rwxr-xr-x 1.2 KB
debug_bootstrap.gdb -rw-r--r-- 76 bytes
delete-all-rpaths.sh -rwxr-xr-x 925 bytes
download_cmake.sh -rwxr-xr-x 1.7 KB
filterArgs.sh -rwxr-xr-x 271 bytes
fixup-libgfortran.sh -rwxr-xr-x 6.0 KB
fixup-libstdc++.sh -rwxr-xr-x 824 bytes
fixup-rpath.sh -rwxr-xr-x 1.0 KB
generate_precompile.jl -rw-r--r-- 7.0 KB
install.sh -rwxr-xr-x 695 bytes
julia-config.jl -rwxr-xr-x 3.8 KB
julia.appdata.xml -rw-r--r-- 1.4 KB
julia.desktop -rw-r--r-- 286 bytes
normalize_triplet.py -rwxr-xr-x 4.0 KB
prepare_release.sh -rwxr-xr-x 5.0 KB
refresh_bb_tarballs.sh -rwxr-xr-x 2.8 KB
relative_path.py -rwxr-xr-x 536 bytes
stringreplace.c -rw-r--r-- 942 bytes
travis_fastfail.sh -rwxr-xr-x 1.0 KB
valgrind-julia.supp -rw-r--r-- 166 bytes

README.md

back to top