Backtrack: fix another bug when updating typer after syntax errors