From b117bdb3448778d9e7f9a0302791e8ac3bb97ddd Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sat, 16 Nov 2024 12:00:28 -0300 Subject: 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. --- manual/manual.of | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manual') diff --git a/manual/manual.of b/manual/manual.of index f0b17b4c..ce42ff51 100644 --- a/manual/manual.of +++ b/manual/manual.of @@ -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. +} + } } -- cgit v1.2.3-55-g6feb