I want be able to report warning diagnostics in fennel-ls. Right now fennel doesn't have a lot of warnings, but it would be good to get a warning hook in place.
Specifically I'm interested in receiving hooks tor #194 as that's probably going to end up being a warning, not an error.
One potential solution is to accept a
warn
function in the compiler opts table and use that in place ofutlis.warn
if present.
I've pushed an implementation of this in cdb222c.