From 84605917bbf5e451a75095e36146bad079bf48a4 Mon Sep 17 00:00:00 2001 From: TheEt1234 Date: Sun, 10 Aug 2025 20:21:47 +0200 Subject: [PATCH] Close #16373 by making the error slightly less confusing --- builtin/common/misc_helpers.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/common/misc_helpers.lua b/builtin/common/misc_helpers.lua index 1a3c586a72..0394ee56fd 100644 --- a/builtin/common/misc_helpers.lua +++ b/builtin/common/misc_helpers.lua @@ -119,6 +119,7 @@ end -- }]] function dump(value, indent) indent = indent or "\t" + assert(type(indent) == "string", "dump()'s second argument should be a string or nil, to dump multiple things use dump({a, b}).") local newline = indent == "" and "" or "\n" local rope = {}