haxe
haxe copied to clipboard
Lots of import.hx dependencies
Don't know yet how to reproduce this, but I'm seeing a case where a cached module keeps getting more and more dependencies of the same import.hx.
This comes from the display-texpr processing calling handle_import_hx again, which doesn't account for the possibility of the module in question being cached already.
This might actually be a more general concern because I think it could happen in other cases as well. We have to review all add_dependency occurrences if we want to implement any notion of "retyping" cached modules.