okay looked at it a bit
current plan involved changing current_stmt_tree to have a statement tree specifically for current deferred statements
this would make defer’d stuff go there, and then when handling return, goto, continue, break, and lbracket, i’d just merge the deferred statement tree into the function one