Closed kkirstein closed 4 years ago
When I pin the package to git+https://github.com/ocaml-community/zed.git#f0fbd01b
I get a slightly different error message:
#=== ERROR while compiling zed.2.0.5 ==========================================#
# context 2.0.6 | linux/x86_64 | ocaml-base-compiler.4.09.0 | pinned(git+https://github.com/ocaml-community/zed.git#f0fbd01b)
# path ~/.opam/default/.opam-switch/build/zed.2.0.5
# command ~/.opam/default/bin/dune build -p zed -j 3
# exit-code 1
# env-file ~/.opam/log/zed-3774-6aa130.env
# output-file ~/.opam/log/zed-3774-6aa130.out
### output ###
# Error: The implementation src/zed_string.ml
# [...]
# val compare_index :
# 'a ->
# ok:('b -> 'b -> int) ->
# error:('c -> 'c -> int) ->
# ('b, 'c) result -> ('b, 'c) result -> int
# is not included in
# val compare_index : t -> index -> index -> int
# File "src/zed_string.mli", line 326, characters 2-48:
# Expected declaration
# File "src/zed_string.ml", line 600, characters 6-19:
# Actual declaration
When I pin the package to
git+https://github.com/ocaml-community/zed.git#f0fbd01b
I get a slightly different error message
Yeah, in module Zed_stirng.US_Raw, there was a left-out compare
didn't point to the Pervasives one
I've just cut a bugfix release. Thank you, @kkirstein and @mjambon :)
Great, is fixed by fab8052769ddf9e7e0390b31422c0f0e378e6861 now!
Sorry to comment on a closed issue, but I've hit this when trying to install utop
(I'm following the real world dev ocaml guide).
Is there anything I can do to fix this, or do I have to wait for Zed to get a new release, and then utop
to upgrade depencencies?
Feel free to just point me to some docs, or another place to ask this question.
Hi, @SimunKaracic
After the package PR is merged, to synchronize and publish the changes to the opam repo will take some extra time, usually several hours.
I just do opam update && opam upgrade
and everthing is done and works well now.
Since you failed in this action(opam upgrade, I guess), utop was now unfortunately removed by opam to filter broken packages away. You now have to install utop manually by
opam update && opam install utop
I'm quite sure it should work now. Again, opam update
is the key point.
It worked! :tada: Thanks!
Well, I guess I have to go actually learn ocaml now
Hi, after upgrading the
result
package from 1.4 -> 1.5 buildingzed
fails:According to the change notes in
result
typeResult
is now aliased toStdlib.Result
Actually, I don't see why this should fail forzed
now.