Comment by zem
6 hours ago
if nothing else, you could guess that a compilation error within a function body would still let other functions be compiled, and proceed on that basis.
6 hours ago
if nothing else, you could guess that a compilation error within a function body would still let other functions be compiled, and proceed on that basis.
Depending on the error, the grammar, and the parser, it may not be possible to close the function body. Most compilation units are file-based for this reason.
It doesn't hurt here that the OCaml compiler is very fast, which makes for quick feedback loops when dealing with errors.