The resulting function-call vertex carries the BuiltInProcName.NewEnv origin so that
processAssignment can detect it and attach an envState to the assigned variable.
When the parent argument can be statically resolved (a tracked env variable or an
emptyenv()-family call), the resolved parent is stored in the vertex's newEnvParent
field so that createFreshEnvState can use it.
Processes
new.env()andrlang::new_environment().The resulting function-call vertex carries the BuiltInProcName.NewEnv origin so that
processAssignmentcan detect it and attach anenvStateto the assigned variable.When the
parentargument can be statically resolved (a tracked env variable or anemptyenv()-family call), the resolved parent is stored in the vertex'snewEnvParentfield so that createFreshEnvState can use it.