-
Notifications
You must be signed in to change notification settings - Fork 415
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
generated .merlin doesn't understand ppx_compare #230
Comments
Note also that the
|
Note that jbuilder will generate an appropriate Are you able to use the generated compare functions at all? I.e. does jbuilder actually preprocess things correctly? |
Yes the build is fine, the only thing going awry is the .merlin (see also #229 on the same project). I just noticed that if I remove the last stanza from my jbuild, which is the only one without
However merlin still gives errors about extension points. |
The main problem here is that the scope of a
There were a lot of issues related to quoting, I believe it should work fine with the latest version of jbuilder and merlin. |
Actually since ocaml/merlin@cf93c20 the scope could be the file instead of the directory. Although generating a ton of |
Yh, that doesn't seem right to me.
Seems good, however for jbuilder it should be |
@trefis @let-def I suggest the following design which would shift the decision of how to organize the configuration to the user/build system: in
then to get the configuration for a file |
I'm closing this as we're waiting for the obsoletion of .merlin files. It's highly unlikely that will work on this. |
The generated .merlin for this jbuild produces the
PKG ppx_compare.runtime-lib
directive, but merlin needsPKG ppx_compare
instead.In particular, this line will generate a merlin error (
Uninterpreted extension 'compare.equal'.
):The text was updated successfully, but these errors were encountered: