method ctyp =
fun t ->
match super#ctyp t with
| Ast.TyPol (_, (Ast.TyNil _), t) |
Ast.TyAli (_, (Ast.TyNil _), t) |
Ast.TyAli (_, t, (Ast.TyNil _)) |
Ast.TyArr (_, t, (Ast.TyNil _)) |
Ast.TyArr (_, (Ast.TyNil _), t) |
Ast.TyOr (_, (Ast.TyNil _), t) |
Ast.TyOr (_, t, (Ast.TyNil _)) |
Ast.TyOf (_, t, (Ast.TyNil _)) |
Ast.TyAnd (_, (Ast.TyNil _), t) |
Ast.TyAnd (_, t, (Ast.TyNil _)) |
Ast.TySem (_, t, (Ast.TyNil _)) |
Ast.TySem (_, (Ast.TyNil _), t) |
Ast.TyCom (_, (Ast.TyNil _), t) |
Ast.TyCom (_, t, (Ast.TyNil _)) |
Ast.TyAmp (_, t, (Ast.TyNil _)) |
Ast.TyAmp (_, (Ast.TyNil _), t) |
Ast.TySta (_, (Ast.TyNil _), t) |
Ast.TySta (_, t, (Ast.TyNil _)) -> t
| t -> t