DFS vs BFS search of modules during resolution
Michał Kłeczek
michal at kleczek.org
Fri Dec 3 14:30:39 UTC 2021
> On 3 Dec 2021, at 14:39, Michał Kłeczek <michal at 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.
More information about the jigsaw-dev
mailing list