diff --git a/imports/array/shared.lua b/imports/array/shared.lua index 70d0284..343e9da 100644 --- a/imports/array/shared.lua +++ b/imports/array/shared.lua @@ -52,7 +52,7 @@ function lib.array:from(iter) return arr end - error('Array.from argument was not a valid iterable value (received %s)') + error(('Array.from argument was not a valid iterable value (received %s)'):format(iterType)) end ---Returns the element at the given index, with negative numbers counting backwards from the end of the array.