f645d3157372c73573dff221c5b26691cb0e7d56
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
66.7%
Lua
32.6%
Makefile
0.6%
Shell
0.1%