mirror of
https://github.com/lua/lua
synced 2025-02-11 18:54:00 +03:00
![Roberto Ierusalimschy](/assets/img/avatar_default.png)
When initializing a to-be-closed variable, check whether it has a '__close' metamethod (or is a false value) and raise an error if if it hasn't. This produces more accurate error messages. (The check before closing still need to be done: in the C API, the value is not constant; and the object may lose its '__close' metamethod during the block.)
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
Languages
C
67.4%
Lua
32%
Makefile
0.6%