Skip to content

Upgrade ocamlformat@0.26.1 #832

New issue

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

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

Already on GitHub? # to your account

Closed
wants to merge 3 commits into from

Conversation

aspeddro
Copy link
Contributor

This allows using latest ocaml-lsp-server

@zth
Copy link
Collaborator

zth commented Oct 13, 2023

Is upgrading the LSP blocked because of an older ocaml-format version? Seriously?

@cknitt
Copy link
Member

cknitt commented Oct 13, 2023

Yes, see also rescript-lang/rescript#6360.

We cannot upgrade the version in the compiler repo though because we also install and run it in CI for format checks, and it is not in the OPAM repo used for Windows...

I think we should avoid using a different version in the rescript-vscode repo than in the compiler repo.

@zth
Copy link
Collaborator

zth commented Oct 13, 2023

Right, got it. Just perplexed that upgrading a formatter (implicitly meaning potentially dealing with a bunch of reformatting conflicts for all outstanding branches) is allowed to block upgrading the LSP itself.

@aspeddro
Copy link
Contributor Author

Ready for merge

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

Successfully merging this pull request may close these issues.

3 participants