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

spurious error on module type

Open c-cube opened this issue 2 years ago • 3 comments

ocaml2

c-cube avatar Jul 21 '22 19:07 c-cube

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. :-(

Maelan avatar Jul 22 '22 14:07 Maelan

another onet :)

c-cube avatar Jul 30 '22 02:07 c-cube

The issue with exception E = F was noted in the test file already, and should be addressed by the PR above. :-)

Maelan avatar Aug 03 '22 18:08 Maelan