1

I have two files:

foo.ml

let foo = ()

foo.mli

val foo: int -> int

How can I get Merlin to warn me that I've incorrectly implemented the interface?

Max Heiber
  • 14,346
  • 12
  • 59
  • 97
  • I don't think that's Merlin's role. I think you should look at Dune or other build mechanisms for OCaml. – G4143 Oct 23 '19 at 09:53
  • I was wrong! You can query Merlin(in Vim) with :MerlinErrorCheck and it will generate an error message if the signatures don't match. – G4143 Oct 23 '19 at 09:58

0 Answers0