Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

[patch] S04: CATCH blocks

1 view
Skip to first unread message

Gaal Yahas

unread,
Jul 25, 2006, 10:50:53 AM7/25/06
to perl6-l...@perl.org
(This paragraph may need some more treatment but I won't attempt
it until I grasp the content better.)

* agentzh++ noticed confusing language regarding two kinds of scope
in S04.

--- design/syn/S04.pod (revision 10465)
+++ design/syn/S04.pod (working copy)
@@ -456,7 +456,7 @@
of the C<CATCH> block. Handled exceptions break out past this implicit
rethrow.)

-A C<CATCH> block sees the lexical scope in which it defined, but the
+A C<CATCH> block sees the lexical scope in which it is defined, but the
dynamic scope in which it is called, that is, as if it were called
from the dynamic location that threw the exception. That is, the
stack is not unwound until some exception handler chooses to

--
Gaal Yahas <ga...@forum2.org>
http://gaal.livejournal.com/

0 new messages