On Sunday 18 July 2010 19:47:37 strtr wrote: > Thanks for the explanation! > But what you are talking about is implementation, nowhere in the spec does > it say anything like this (or did I just miss it :). > I could find only this about scope(failure): > "scope(failure) executes NonEmptyOrScopeBlockStatement when the scope > exits due to exception unwinding." > So at the very least it is a documentation bug: > It should say something about catching the exception and then re-throwing > it, or explain that scope guards are sugar for re-throwing try statements
Bug report created: http://d.puremagic.com/issues/show_bug.cgi?id=4484