I’m having a puzzling problem. I don’t have it down to a short reproducible case, as the program is long and I have no idea what the issue is.
My program has a couple dozen files. When I make a trivial change to one of them, file A, even to code that is not going to be called, the program stops working properly with mysterious behavior that’s almost like a compiler bug, it makes so little sense. Only when I make a change to another file B that imports file A, does the program work again. This can be the most trivial of changes, like changing a constant in a function in B that’s not even called anywhere-- or even just adding whitespace – it breaks. Then change file A (even adding whitespace) and it works again.