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:
Roberto Ierusalimschy committed 2024-11-16 12:00:28 -03:00
1 parent f12ce4029d
commit b117bdb344
4 files changed
+68 -28

No files matched your search

+4
View File
@@ -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.
}
}
}