Skip to content

Commit c55d309

Browse files
authored
Merge pull request #1637 from veelo/patch-2
[doc] Implicit catch statements are deprecated.
2 parents 7b05357 + 3202777 commit c55d309

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

spec/statement.dd

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,13 +1540,9 @@ $(GNAME TryStatement):
15401540
$(D try) $(PSSCOPE) $(GLINK FinallyStatement)
15411541

15421542
$(GNAME Catches):
1543-
$(GLINK LastCatch)
15441543
$(GLINK Catch)
15451544
$(GLINK Catch) $(I Catches)
15461545

1547-
$(GNAME LastCatch):
1548-
$(D catch) $(PS0)
1549-
15501546
$(GNAME Catch):
15511547
$(D catch $(LPAREN)) $(GLINK CatchParameter) $(D $(RPAREN)) $(PS0)
15521548

@@ -1572,9 +1568,6 @@ $(GNAME FinallyStatement):
15721568
T1 is the same type as or a base class of T2.
15731569
)
15741570

1575-
$(P $(I LastCatch) catches all exceptions.
1576-
)
1577-
15781571
$(P The $(I FinallyStatement) is always executed, whether
15791572
the $(D try) $(I ScopeStatement) exits with a goto, break,
15801573
continue, return, exception, or fall-through.

0 commit comments

Comments
 (0)