Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spurious error on module type #84

Open
c-cube opened this issue Jul 21, 2022 · 3 comments
Open

spurious error on module type #84

c-cube opened this issue Jul 21, 2022 · 3 comments

Comments

@c-cube
Copy link
Collaborator

c-cube commented Jul 21, 2022

ocaml2

@Maelan
Copy link
Contributor

Maelan commented Jul 22, 2022

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

@c-cube
Copy link
Collaborator Author

c-cube commented Jul 30, 2022

another onet
:)

@Maelan
Copy link
Contributor

Maelan commented Aug 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants