diff --git a/lang/spec.html b/lang/spec.html index 32814284..7a5c7456 100644 --- a/lang/spec.html +++ b/lang/spec.html @@ -7877,9 +7877,6 @@
regular-compound-stmt := - do-stmt - | match-stmt - | foreach-stmt - | while-stmt - | lock-stmt + do-stmt + | match-stmt + | foreach-stmt + | while-stmt + | lock-stmt + | retry-stmt + | transaction-stmt + | retry-transaction-stmt
A regular-compound-stmt
can be combined with an
@@ -9738,6 +9738,10 @@
fail
statement may cause control to transfer to the
on-fail-cause
. If so, the statement-block
is executed;
otherwise the statement-block
is not executed.
+When the regular-compound-stmt is itself a failure handling statement,
+then only failure of that regular-compound-stmt itself causes control to
+transfer to the on-fail-clause
; a failure within that
+regular-compound-stmt will be handled by that regular-compound-statement.
If there is a typed-binding-pattern
, then it is matched to the
@@ -11676,6 +11680,8 @@
stream
keyword.retry
or transaction
statement may now have an on fail
+clause.