dune
dune copied to clipboard
Dependency cycle when building the `lwt` project with dune package management
To reproduce, run:
$ opam source lwt.5.7.0
$ cd lwt.5.7.0
$ dune pkg lock
$ DUNE_CONFIG__TOOLCHAINS=enabled dune build
Error: Dependency cycle between:
- package base-bytes
-> _build/_private/default/.pkg/ocamlfind/target/cookie
-> - package base-bytes
There's no obvious dependency cycle between lockfiles. Projects that depend on lwt build fine with dune package management. This problem only happens when building the lwt project itself.
I'll update this issue as I find more projects with this problem.
Thanks for the report and the reproduction @Kakadu
This does look like a bug, I don't see why we would report the function documentation when hovering on one of it's parameter usages.