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

eliom < 10.4.1 is not compatible with OCaml 5.2 (relies on the parsetree) #25837

Merged
merged 1 commit into from May 13, 2024

Conversation

kit-ty-kate
Copy link
Member

#=== ERROR while compiling eliom.10.4.0 =======================================#
# context              2.2.0~beta3~dev | linux/x86_64 | ocaml-variants.5.2.0+trunk | file:///home/opam/opam-repository
# path                 ~/.opam/5.2/.opam-switch/build/eliom.10.4.0
# command              ~/.opam/5.2/bin/dune build -p eliom -j 1 @install
# exit-code            1
# env-file             ~/.opam/log/eliom-19-e16a7f.env
# output-file          ~/.opam/log/eliom-19-e16a7f.out
### output ###
# (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -g -I src/ppx/.ppx_utils.objs/byte -I src/ppx/.ppx_utils.objs/native -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/ppx_derivers -I /home/opam/.opam/5.2/lib/ppxlib -I /home/opam/.opam/5.2/lib/ppxlib/ast -I /home/opam/.opam/5.2/lib/ppxlib/astlib -I /home/opam/.opam/5.2/lib/ppxlib/print_diff -I /home/opam/.opam/5.2/lib/ppxlib/stdppx -I /home/opam/.opam/5.2/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.2/lib/sexplib0 -I /home/opam/.opam/5.2/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/ppx/.ppx_utils.objs/native/ppx_eliom_utils.cmx -c -impl src/ppx/ppx_eliom_utils.pp.ml)
# File "src/ppx/ppx_eliom_utils.ml", line 355, characters 37-40:
# 355 |           Typ.arrow (label_of_string lab) (type_of_out_type ty1)
#                                            ^^^
# Error: This expression has type "Asttypes.arg_label"
#        but an expression was expected of type "string"
# (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -I src/ppx/.ppx_utils.objs/byte -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/ppx_derivers -I /home/opam/.opam/5.2/lib/ppxlib -I /home/opam/.opam/5.2/lib/ppxlib/ast -I /home/opam/.opam/5.2/lib/ppxlib/astlib -I /home/opam/.opam/5.2/lib/ppxlib/print_diff -I /home/opam/.opam/5.2/lib/ppxlib/stdppx -I /home/opam/.opam/5.2/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.2/lib/sexplib0 -I /home/opam/.opam/5.2/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/ppx/.ppx_utils.objs/byte/ppx_eliom_utils.cmo -c -impl src/ppx/ppx_eliom_utils.pp.ml)
# File "src/ppx/ppx_eliom_utils.ml", line 355, characters 37-40:
# 355 |           Typ.arrow (label_of_string lab) (type_of_out_type ty1)
#                                            ^^^
# Error: This expression has type "Asttypes.arg_label"
#        but an expression was expected of type "string"

@mseri mseri merged commit 1bcdd0a into ocaml:master May 13, 2024
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants