haxe icon indicating copy to clipboard operation
haxe copied to clipboard

Lots of import.hx dependencies

Open Simn opened this issue 4 years ago • 1 comments

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.

Simn avatar Apr 01 '22 08:04 Simn

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.

Simn avatar Apr 04 '22 11:04 Simn