import std.c.stdio; void main() { scope (failure){scope (failure) puts("1");} scope (failure) scope (failure) puts("2"); scope (exit) scope (failure) puts("3"); throw new Exception("abc"); } *** prints "2" although it shouldn't. It does not print "1" or "3".
The code that should reproduce the bug is now invalid and doesn't compile