learn-ocaml icon indicating copy to clipboard operation
learn-ocaml copied to clipboard

Report errors/warnings in source code

Open adhameer opened this issue 6 years ago • 0 comments

Errors and warnings raised by the typechecker are highlighted with a yellow or red underline in the editor, and hovering over the line number shows the details of the error. It would be nice to be able to hook into this functionality to create our own warnings, using the location information retrieved from the code AST. Would it be possible to expose the functions used for this to the grader library?

adhameer avatar Dec 28 '18 21:12 adhameer