On Tuesday, 17 April 2018 at 00:27:07 UTC, Nicholas Wilson wrote: > It is odd though since > > void foo (){} > extern(C) void main() > { > scope(exit) foo(); > } > > compiles and runs with -betterC I believe `scope(exit)` is fine because it is basically try-finally, but `scope(failure)` won't work because it is try-catch. Mike