On Wednesday, December 13, 2017 06:55:46 bauss via Digitalmars-d-learn wrote:[...]If it works, it's a bug related to code lowering (since scope statements are always lowered to try-catch-finally blocks). You're not supposed to have access to the exception in a scope statement.- Jonathan M Davis
Yeah that's what I thought. Just tested and it doesn't allow you to.