If I understand correctly, most of the loading of the *.ji file is done by C code, and the parsing and applying phases are not (yet) well separated. This makes it difficult to analyze the contents of the *.ji file without causing side effects to the world.
I’ve faced pre-compilation issues several times in package development, and I have no choice but to wait and trust that the core developers of Julia will fix the problems.
I think tools like a protocol analyzer, which provide data structure analysis and annotated HEX dumps, would be helpful in clarifying the problems.
Does such tools exist? Or do you think such a tool would be helpful?