Open Simn opened 12 months ago
Similar thing happens when a type fails to build, leading to nonsense errors afterwards.
I have a note somewhere to try keeping track of such types and silence errors related to those, but failing harder would be much easier.
You wouldn't happen to know there this is actually caught? I'm seeing plenty of catches for Error Unify
but not so much for this particular one. I wonder if this is caught by some random general with Error err
like the one in type_block
.
I triggered a similar thing and got some from various places:
I noticed today that when deleting the haxe.crypto package and trying to compile haxelib, the reported errors look like this:
This suggests a strange error state where compilation continues despite the original error, but without the erroneous class having any structure. I find this to be an odd middle ground, because compilation should either:
Personally, I dislike how we try to recover from errors because I rarely find the followup errors useful, but I'm aware that others disagree with that. Either way, I'd first like to understand where the original error is caught.