We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cee56d commit 346199dCopy full SHA for 346199d
base/subarray.jl
@@ -42,7 +42,7 @@ check_parent_index_match(parent, ::NTuple{N, Bool}) where {N} =
42
# are inlined
43
@inline Base.throw_boundserror(A::SubArray, I) =
44
__subarray_throw_boundserror(typeof(A), A.parent, A.indices, A.offset1, A.stride1, I)
45
-@noinline __subarray_throw_boundserror(T, parent, indices, offset1, stride1, I) =
+@noinline __subarray_throw_boundserror(::Type{T}, parent, indices, offset1, stride1, I) where {T} =
46
throw(BoundsError(T(parent, indices, offset1, stride1), I))
47
48
# This computes the linear indexing compatibility for a given tuple of indices
0 commit comments