diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-11-16 14:35:06 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-11-16 14:35:06 -0300 |
commit | 6b3e116d44eed387aa93126c48eae8a64b38bfc2 (patch) | |
tree | 04175aafa7c2ca0d24c41eb3e5115859705bd06f /manual | |
parent | e8deac5a41ffd644aaa78fda6d4bd5caa72cb077 (diff) | |
download | lua-6b3e116d44eed387aa93126c48eae8a64b38bfc2.tar.gz lua-6b3e116d44eed387aa93126c48eae8a64b38bfc2.tar.bz2 lua-6b3e116d44eed387aa93126c48eae8a64b38bfc2.zip |
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.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/manual.of | 2 |
1 files changed, 1 insertions, 1 deletions
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. | |||
6247 | } | 6247 | } |
6248 | 6248 | ||
6249 | @LibEntry{error (message [, level])| | 6249 | @LibEntry{error (message [, level])| |
6250 | Raises an error @see{error} with @{message} as the error object. | 6250 | Raises an error @see{error} with @id{message} as the error object. |
6251 | This function never returns. | 6251 | This function never returns. |
6252 | 6252 | ||
6253 | Usually, @id{error} adds some information about the error position | 6253 | Usually, @id{error} adds some information about the error position |