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 c50f1c8 commit 3b137f7Copy full SHA for 3b137f7
src/indexing.jl
@@ -1,5 +1,5 @@
1
# Default error messages to help users with new types and to avoid subsequent stack overflows
2
-getindex(a::StaticArray, i::Int) = error("getindex(::$typeof(a), ::Int) is not defined.")
+getindex(a::StaticArray, i::Int) = error("getindex(::$(typeof(a)), ::Int) is not defined.")
3
setindex!(a::StaticArray, value, i::Int) = error("setindex!(::$(typeof(a)), value, ::Int) is not defined.")
4
5
#######################################
0 commit comments