← Back to context

Comment by Locke1689

11 years ago

In certain cases, especially with async, using "throw;" can cause a loss of information in a dump. We want compiler bugs to fail fast -- to immediately crash the compiler for debugging and analysis. By using exception filters we can immediately crash the compiler in erroneous conditions, preserving stack, locals, etc.

This isn't just useful for the compiler, but we felt it was necessary for us to make the most reliable, agile product.