A variable is captured in a scope if it is a local variable in the scope and its parent scope. Child scopes are not relevant here.
A variable is captured in a scope if it is a local variable in the scope and its parent scope. Child scopes are not relevant here.

felixvf/mirah,felixvf/mirah,mirah/mirah,felixvf/mirah,mirah/mirah,felixvf/mirah,mirah/mirah,mirah/mirah