> On 3 Dec 2021, at 14:39, Michał Kłeczek <mic...@kleczek.org> wrote: > > > 2. Is there a way to handle it today? > (Ab)using transitive dependencies might work - I could introduce artificial > module M ---(transitive)-->Y2 and make Z require M (so that resolution would > replace Y1 found by DFS with Y2 required transitively by M). > Am I missing something?
It seems I missed that resolution algorithm does not replace resolved modules found during DFS with RMs found by processing transitive dependencies (that’s what I hoped :) ) but will report an error.