-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
ppx_import currently fails to build with OCaml 5.4:
#=== ERROR while compiling ppx_import.1.11.0 ==================================#
# context 2.4.0~rc1 | linux/x86_64 | ocaml-base-compiler.5.4.0~alpha1 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/ppx_import.1.11.0
# command ~/.opam/5.4/bin/dune build -p ppx_import -j 1
# exit-code 1
# env-file ~/.opam/log/ppx_import-14-42a25b.env
# output-file ~/.opam/log/ppx_import-14-42a25b.out
### output ###
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.ppx_import.objs/byte -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.4/lib/ocaml/compiler-libs -I /home/opam/.opam/5.4/lib/ppx_derivers -I /home/opam/.opam/5.4/lib/ppxlib -I /home/opam/.opam/5.4/lib/ppxlib/ast -I /home/opam/.opam/5.4/lib/ppxlib/astlib -I /home/opam/.opam/5.4/lib/ppxlib/print_diff -I /home/opam/.opam/5.4/lib/ppxlib/stdppx -I /home/opam/.opam/5.4/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -no-alias-deps -open Ppx_import__ -o src/.ppx_import.objs/byte/ppx_import.cmo -c -impl src/ppx_import.pp.ml)
# File "src/ppx_import.ml", line 34, characters 40-43:
# 34 | | Longident.Ldot (lid, id) -> print lid ("." :: id :: acc)
# ^^^
# Error: The value lid has type Longident.t Location.loc
# but an expression was expected of type Longident.t
Metadata
Metadata
Assignees
Labels
No labels