First declosure impl

This commit is contained in:
2026-09-04 13:53:59 +00:00
parent af85244587
commit 617dbeb988
7 changed files with 376 additions and 11 deletions
+6 -2
View File
@@ -120,8 +120,12 @@ last argument, so it is args.last().
DETECT, abstractly:
plain call call | call0..3 (callee = last arg; not call_method,
call_constructor, or apply)
plain call call | call0..3 | tail_call (callee = last arg; not
call_method, call_constructor,
or apply)
A tail call stays a tail call. It pushes nothing and returns, so turning it
into an ordinary call would leave a value behind and drop the return.
outer, which in the example is: