vim-ocaml
vim-ocaml copied to clipboard
spurious error on module type
Argh! That’s an unfortunate (lack of) interaction with the module linting stuff. I found another one (while playing around issue #6):
module M1 : sig end = (struct let x = 0 end : sig end)
(* => last signature: `sig` is linted as a type constructor, end `end` as an error *)
I’m suspecting that fixing these might require, among other things, moving the module linting code after the type linting code in syntax/ocaml.vim
, but I would first need to understand the former. :-(
:)
The issue with exception E = F
was noted in the test file already, and should be addressed by the PR above. :-)