Weird behaviour for pack mlis, breaking on 4.04#128
Weird behaviour for pack mlis, breaking on 4.04#128AltGr wants to merge 1 commit intoocaml:masterfrom
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