Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Methods separated from metamethods in 'io'
In the 'io' library, changed the use of the metatable also as its own "method table", so that metamethods cannot be accessed as if they were methods. (For instance, 'io.stdin.__gc' does not result in the finalizer metamethod anymore.)
- Loading branch information
1 parent
8b7cfee
commit 924bed7
Showing
1 changed file
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters