-
Notifications
You must be signed in to change notification settings - Fork 112
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
Ppx_tools not working in uTop 2.0.1 #213
Comments
It's because utop 2.0.1 declares its dependency on compiler-libs while the older version did not. Technically this is a very obscure problem; the compiler libraries contain a lot of generic root modules (
Alternatively, you can try |
I'm seeing this issue in reynir/ocp-index-top#9 as well. It's a toplevel directive for looking up documentation for identifiers. Do you have any advice on making it work in utop? I have an issue about inadverdently exposing compiler-libs, so I understand the motivation for the change in utop 2.0.1 reynir/ocp-index-top#1. Thanks! |
Well, appart from using |
Same problem here, reason toplevel built on top of utop stopped working. The dependency chain is: |
How is the reason toplevel built? If you link a custom toplevel, you should only get this error if you expunge the toplevel |
It's utop with a custom init that replaces parsing and printing. |
Maybe it should be a custom toplevel instead? |
Maybe. In the meantime we are happy with utop-full. Thanks. |
@diml is there any issue/PR to track the namespacing of the compiler libs? |
There is this ticket that's related: https://caml.inria.fr/mantis/view.php?id=6704 Namespacing the compiler libs like the stdlib would be nice, though it's likely to be a little bit painful to adapt the makefiles. |
As mentioned in https://discuss.ocaml.org/t/ppx-tools-not-working-in-utop/367
The new utop has a problem with
ppx_tools
:I think it's an issue with
utop
. The following set of packages works without problemswhile this other presents the issue we both saw:
The text was updated successfully, but these errors were encountered: