method sig_item =
fun sg ->
match super#sig_item sg with
| Ast.SgSem (_, (Ast.SgNil _), sg) |
Ast.SgSem (_, sg, (Ast.SgNil _)) -> sg
| Ast.SgTyp (loc, (Ast.TyNil _)) -> Ast.SgNil loc
| sg -> sg