4 ms·
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.
by zem 3mo 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.
- jallmann 3mo agoDepending 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.
- tlavoie 3mo agoIt doesn't hurt here that the OCaml compiler is very fast, which makes for quick feedback loops when dealing with errors.