[DOC-XXX][feature] - AST: $env is wrapped with closure too