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

Compilation error when compiling master branch #1445

Open
sidkshatriya opened this issue Jan 11, 2025 · 1 comment
Open

Compilation error when compiling master branch #1445

sidkshatriya opened this issue Jan 11, 2025 · 1 comment

Comments

@sidkshatriya
Copy link
Contributor

Building with OCaml compiler 5.3.0, master branch commit aae6986

dune build @install
submodules/lev/lev/vendor/ev.c:2143:31: warning: ‘ev_default_loop_ptr’ initialized and declared ‘extern’
File "ocaml-lsp-server/src/rename.ml", line 11, characters 73-82:
11 |       Query_protocol.Occurrences (`Ident_at (Position.logical position), `Renaming)
                                                                              ^^^^^^^^^
Error: The constructor `Renaming has type [> `Renaming ]
       but an expression was expected of type [ `Buffer | `Project ]
       The second variant type does not allow tag(s) `Renaming
@voodoos
Copy link
Collaborator

voodoos commented Jan 11, 2025

Yes, you need Merlin 5.4-503 to build master. The release is in progress: ocaml/opam-repository#27240

Alternatively you can pin Merlin main.

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