HaxeFoundation / haxe

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

[hxb] Signature dependencies - part 2 #11659

Closed kLabz closed 1 month ago

kLabz commented 1 month ago

11650 broke with some projects, because MDR chunk was pulling modules that were not tracked in signature dependencies (so ignored when checking dependencies, which could be missing or invalidated).

MDR chunk was introduced in https://github.com/HaxeFoundation/haxe/pull/11504/commits/7603234fd4cecb7e5f2b54e75edffc857bb8f5a8 because of https://github.com/HaxeFoundation/haxe/issues/11493#issuecomment-1893217244

New implementation only adds MDepFromImport dependencies there, and does not resolve those when hxb reader is in "signature only" mode.