Skip to content

Commit 7412d00

Browse files
authored
Fix interpolation in isstored error message
1 parent 9d24016 commit 7412d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/indexing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ for f in (:isstored, :getunstoredindex, :getstoredindex)
155155

156156
# errors
157157
$_f(::IndexStyle, A::AbstractArray, I...) = error(
158-
"`$f` for $("$(typeof(A))") with types $("$(typeof(I))") is not supported"
158+
"`$($f)` for $("$(typeof(A))") with types $("$(typeof(I))") is not supported"
159159
)
160160

161161
$error_if_canonical(::IndexLinear, A::AbstractArray, ::Int) = throw(

0 commit comments

Comments
 (0)