8010652: Eliminate non-child references in Block/FunctionNode, and make few node types immutableReviewed-by: jlaskey, lagergren
8006755: Functions inside with statements dont get correct scopeReviewed-by: lagergren, attila