Open copy opened 1 year ago
Yes, these warnings have always been disabled in Merlin: https://github.com/ocaml/merlin/commit/1f1fee1ed6e08cede167d00130e42a9646dff7f5
I always assumed that the reason was to not bother the user while writing code since most values start their life unused.
But the comment in the code actually says Some warnings are not properly implemented in merlin, just disable
which I find a bit surprising.
@let-def could you give us some insight about this ?
Linked-issue: #485
e.g.:
with an empty
test.mli
and the following dune:There are a bunch of different unused warnings (I didn't manage to get an unused module warning out of the compiler):
But merlin only reports warning 26:
This is with merlin 4.8-500.