fix: top level block, even isolated, is treated as a lambda too

This commit is contained in:
sergeych committed 2025-06-08 00:42:08 +04:00
1 parent c0cf190452
commit 4dc73b91c2
2 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ One interesting way of using closure isolation is to keep state of the functions
>>> 0
>>> 1
>>> 2
>> void
>>> void
Inner `counter` is not accessible from outside, no way; still it is kept
between calls in the closure, as inner function `doit`, returned from the