method expr =
fun e ->
match super#expr e with
| Ast.ExLet (_, _, (Ast.BiNil _), e) |
Ast.ExRec (_, (Ast.RbNil _), e) |
Ast.ExCom (_, (Ast.ExNil _), e) |
Ast.ExCom (_, e, (Ast.ExNil _)) |
Ast.ExSem (_, (Ast.ExNil _), e) |
Ast.ExSem (_, e, (Ast.ExNil _)) -> e
| e -> e