method class_type =
fun ct ->
match super#class_type ct with
| Ast.CtAnd (_, (Ast.CtNil _), ct) |
Ast.CtAnd (_, ct, (Ast.CtNil _)) -> ct
| ct -> ct