From 07b009c3712c062957593d0a4fa82e0fe9023024 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 18 Jun 2025 16:45:55 -0300 Subject: No need to limit variable declarations to 250 Only local variables, which use registers, need this low limit. --- testes/errors.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testes/errors.lua') diff --git a/testes/errors.lua b/testes/errors.lua index a0728913..4230a352 100644 --- a/testes/errors.lua +++ b/testes/errors.lua @@ -742,7 +742,7 @@ assert(c > 255 and string.find(b, "too many upvalues") and -- local variables s = "\nfunction foo ()\n local " -for j = 1,300 do +for j = 1,200 do s = s.."a"..j..", " end s = s.."b\n" -- cgit v1.2.3-55-g6feb