Fix disconnected AST trees introduced by intermediate expressions

Registered by Jesper Öqvist

Some AST nodes or subtrees may become disconnected when they are created as transients of code generation.

TempVarAccess and TempVarDecl should be properly connected to the rest of the AST, preferably not through hacks such as setParent(this) or getEnclosingBlock().addAttachedStmt()

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.