They are already nested in parent nodes (in case of one-liner for instance).
Signed-off-by: Jean Privat <jean@pryen.org>
redef class ABlockExpr
redef fun accept_typing(v)
do
- var old_var_ctx = v.variable_ctx
- v.variable_ctx = v.variable_ctx.sub(self)
-
for e in n_expr do
if not v.variable_ctx.unreash then
v.enter_visit(e)
end
end
- v.variable_ctx = old_var_ctx.merge_reash(self, v.variable_ctx, v.variable_ctx, v.base_variable_ctx)
_is_typed = true
end
end
v.escapable_ctx.push(escapable, n_label)
var old_var_ctx = v.variable_ctx
+ v.variable_ctx = old_var_ctx.sub(self)
super
# Add the end of the block as an exit context