1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Lambdas in positions the original collection walk MISSED, each appearing
# BEFORE an effectful trailing lambda. If any of these is not collected, the
# ordinal lambda<->anchor bijection drifts and `t` is mis-anchored.
# (1) lambda in a comprehension iterable (.for_in)
=
# (2) lambda in a comprehension condition (.ifs)
=
# (3) lambda inside a generator-expression ELEMENT body (lazy for effects,
# but still its own unit + still tokenized → collection MUST descend here)
=
# (4) lambda in a subscript slice key
=
=
# (5) lambda in an f-string expression part
= f
# (6) lambda in a parameter-default expression
return
# (7) lambda in a `with`-item context expression
return
return False
return
# Trailing effectful lambda — its anchor must be CORRECT.
=