<html><body><div><div>Hi. I discovered soe weird behavior. If the code `return` in @finally block, it swallows exceptions.</div><div>Here's full source code I tested with.</div><div><br></div><div><div>#import <Foundation/Foundation.h></div><div><br></div><div>int main (int a, char** b)</div><div>{</div><div> @try</div><div> {</div><div> NSLog(@"trying something...");</div><div><br></div><div> @try { @throw @"AA"; }</div><div> @catch (...) { @throw; }</div><div> @finally { return 0; }</div><div> }</div><div> @catch (...)</div><div> {</div><div> NSLog(@"something catched.");</div><div> }</div><div> @finally</div><div> {</div><div> NSLog(@"finally...");</div><div> }</div><div>}</div></div><div><br></div><div>IMO, internal exception should be caught at external @catch, but actually it doesn't.</div><div>Can I know the exact behavior of `return` in @finally block?</div></div></body></html>