HaxeFoundation / haxe

Haxe - The Cross-Platform Toolkit
https://haxe.org
6.03k stars 648 forks source link

Fix -D dump-dependencies #11669

Closed kLabz closed 1 month ago

kLabz commented 1 month ago

-D dump-dependencies has been crashing with Not_found for a while (since hxb, probably) when we have dependencies from another context.

This PR also adds [macro] at the beginning of the line when dependency is from another context (not working for dependants)

Simn commented 1 month ago

Couldn't we use md_kind for that instead of doing these signature checks? Not like it matters much though...

kLabz commented 1 month ago

Seems to cover problematic cases too, indeed!