[Typer] Mutually recursive definitions of datatypes