From f2c1531e6cacb10926158d8def5fa5841a0f357e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 16 May 2025 15:20:32 -0300 Subject: Detail Reports errors with "?:?:" (instead of "?:-1:") when there is no debug information. --- testes/errors.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testes') diff --git a/testes/errors.lua b/testes/errors.lua index 6c76a99a..a0728913 100644 --- a/testes/errors.lua +++ b/testes/errors.lua @@ -303,14 +303,14 @@ do local f = function (a) return a + 1 end f = assert(load(string.dump(f, true))) assert(f(3) == 4) - checkerr("^%?:%-1:", f, {}) + checkerr("^%?:%?:", f, {}) -- code with a move to a local var ('OP_MOV A B' with A