-
Notifications
You must be signed in to change notification settings - Fork 412
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
runtest aliases create unintended dependency on internal libary #568
Comments
ghost
pushed a commit
that referenced
this issue
Mar 1, 2018
Thanks for the reproduction case. This is indeed a bug, I changed things so that errors occurring during the generation of the .merlin file are ignored. |
Nice! |
rgrinberg
added a commit
that referenced
this issue
Mar 2, 2018
rgrinberg
added a commit
to rgrinberg/jbuilder
that referenced
this issue
Jul 4, 2020
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
rgrinberg
added a commit
to rgrinberg/jbuilder
that referenced
this issue
Jul 6, 2020
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While trying to fix ocaml/opam-repository#11495 I hit what I think is a bug in dune (or rather, still jbuilder 1.0+beta18). The attached file is a simplified source directory to reproduce the problem. It contains two independent libraries
lib1
andlib2
each with their own teststest1
andtest2
, respectively. All.ml
files are empty and there are now cross dependencies. I get the following error when running tests for either of them, say lib1:If I interpret this right, the
.merlin
file gets a dependency on both libraries.The issue can be avoided by putting the libraries and tests in separate directories. Some solutions I can think of:
.merlin
file if-p
is specified, if the option is mainly meant for opam builds and pre-release testing..merlin
file requested by the-p
option.dune-cross-deps.tar.gz
The text was updated successfully, but these errors were encountered: