From 6b3e116d44eed387aa93126c48eae8a64b38bfc2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 16 Nov 2021 14:35:06 -0300 Subject: Corrected bug in 'luaD_tryfuncTM' The pointer to the metamethod can be invalidated by a finalizer that can run during a GC in 'checkstackGCp'. (This commit also fixes a detail in the manual.) Bug introduced in commit 91673a8ec. --- manual/manual.of | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manual') diff --git a/manual/manual.of b/manual/manual.of index 9e0b8835..c9e62b49 100644 --- a/manual/manual.of +++ b/manual/manual.of @@ -6247,7 +6247,7 @@ to its caller. } @LibEntry{error (message [, level])| -Raises an error @see{error} with @{message} as the error object. +Raises an error @see{error} with @id{message} as the error object. This function never returns. Usually, @id{error} adds some information about the error position -- cgit v1.2.3-55-g6feb