When you type broken code in VS Code, clangd and TypeScript's compiler still show you every other error in the file — that is panic-mode recovery with synchronization tokens, exactly what you are building. Production compilers treat error recovery as a first-class feature because developers compile broken code far more often than correct code.