Closed gridbugs closed 2 months ago
OK, I've been looking at this in more detail with the preparatory work in #5935. Cross-referencing a slew of other previous issues in this area to be sure we don't accidentally regress them (because the fixes predate the reftests infrastructure):
With that history paged in, I still think this issue is unequivocally a bug (i.e. the docs are correct and opam isn't adhering to them). It might be relevant to see whether OPAM 1.2.2 was doing this, in terms of assessing whether fixing this may cause a regression.
This is contrary to the documentation here:
To reproduce, put the following in a file named
foo.opam
:Then run:
The output will be be:
But according to the documentation the output should be:
I'm on linux. Reproduced on both 2.1.5 and opam-2.2.0-beta2.