-
Notifications
You must be signed in to change notification settings - Fork 81
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
Weird behaviour for pack mlis, breaking on 4.04 #128
base: master
Are you sure you want to change the base?
Conversation
Don't know what it's for but it breaks dose3 compilation on 4.04
@AltGr, I'm looking at this again and this is very strange. Here is the command-line produced by legacy ocamlbuild (before your patch) (reindented for clarity):
After your patch, it only does the central command:
The question is then: why would the presence or not of a (Note: this I don't understand yet the details of why the workaround used to work before 4.04 and why it was thought helpful. |
So the idea is as follows. When In term of packed modules, that means that native pack The type-checker takes a different path depending on whether a Creating an empty I suspect that the difference in treatment comes from this. |
@AltGr I cannot reproduce the issue with dose3 5.0.1. Which version should I use to be able to reproduce the issue? |
I had a weird error while building dose3 on 4.04, and tracked it down
to this. Disabling the hack seemed to work for me, but it must have
been here for a reason ?
I was getting:
Not creating a temporary, empty .mli worked better...
edit: forgot to mention that there was no mli for Defaultgraphs, which might be of importance