Add amlc-lsp.0.2.0 - #30622
Open
chris-in-the-shell wants to merge 6 commits into
Open
Conversation
jmid
reviewed
Sep 3, 2026
jmid
reviewed
Sep 5, 2026
| depends: [ | ||
| "ocaml" {>= "4.14"} | ||
| "dune" {>= "3.16"} | ||
| "yojson" |
Member
There was a problem hiding this comment.
Thanks, much better now!
The lower bounds checks are catching that this isn't building with all yojson versions, so you need to add a lower bound:
lower-bounds (failed: Unbound type constructor Yojson.Safe.t)
=== downgrade 2 packages
- downgrade dune 3.24.2 to 3.18.2 [required by amlc-lsp]
- downgrade yojson 3.0.0 to 1.5.0 [required by amlc-lsp]
[...]
#=== ERROR while compiling amlc-lsp.0.2.0 =====================================#
# context 2.6.0~beta1 | linux/x86_64 | ocaml-base-compiler.5.5.0 | pinned(https://github.com/arkenstone-lab/amlc-lsp/archive/refs/tags/v0.2.0.tar.gz)
# path ~/.opam/5.5/.opam-switch/build/amlc-lsp.0.2.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p amlc-lsp -j 255
# exit-code 1
# env-file ~/.opam/log/amlc-lsp-7-3c37eb.env
# output-file ~/.opam/log/amlc-lsp-7-3c37eb.out
### output ###
# (cd _build/default && /home/opam/.opam/5.5/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.amlc_lsp.objs/byte -I /home/opam/.opam/5.5/lib/biniou -I /home/opam/.opam/5.5/lib/camlp-streams -I /home/opam/.opam/5.5/lib/easy-format -I /home/opam/.opam/5.5/lib/ocaml/unix -I /home/opam/.opam/5.5/lib/yojson -no-alias-deps -o lib/.amlc_lsp.objs/byte/amlc_lsp.cmo -c -impl lib/amlc_lsp.ml)
# File "lib/amlc_lsp.ml", line 1596, characters 62-75:
# 1596 | let project_rename_imported uri text start name replacement : Yojson.Safe.t option =
# ^^^^^^^^^^^^^
# Error: Unbound type constructor Yojson.Safe.t
Author
|
Thanks! I've added |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
amlc-lsp0.2.0, a language server for AML and Octra AppliedML.Source
v0.2.0source archive with SHA-256 and SHA-512 checksums.Validation
opam lintpasses for the package definition.