It seems puzzling that you’d get different behavior even though the module version is 1.0.6 in both cases. Perhaps the dependency is being overridden somehow, and you’re not actually getting 1.0.6 in both places? https://github.com/scala/scala-module-dependency-sample/pull/14 has an example of how this can happen. (I’m not 100% clear on the details, so you’d have to take a look yourself and decide if it’s relevant.)
@nafg Bug or feature? An oversimplification one could say.
@jpallas Thank you for the issue pointers.
So I found out there is the backwards compatibility flag -Xxml:coalescing.
@SethTisue Yes, that’s what puzzled me, but the change SI-3368 is in the compiler, not the module. I’m sure it has nothing to do with the problem you pointed at.