[Typer] [Git][monnier/typer][unification] 8 commits: fix throw exception for partial application