Community
Participate
Working Groups
Besides StatementWithBody.body, there is a second containment reference between Statements in the Xpand AST: IfStatement.elseIf - along which the containingDefinition is not propagated yet.
Created attachment 166167 [details] Patch to fix #310579
patch looks good.
Patch applied
Bug resolved before Xpand 1.2 release date => Closing