mirror of
https://github.com/lua/lua.git
synced 2026-06-08 08:03:49 +00:00
Counter for length of chains of __call metamethods
This counter will allow (in a later commit) error messages to correct argument numbers in functions called through __call metamethods.
This commit is contained in:
@@ -9392,6 +9392,10 @@ If you need to change it,
|
||||
declare a local variable with the same name in the loop body.
|
||||
}
|
||||
|
||||
@item{
|
||||
A chain of @id{__call} metamethods can have at most 15 objects.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user