Skip to content

Commit 07e315e

Browse files
authored
Implicit catch statements are deprecated.
Bring spec/statement.dd in line with spec/grammar.dd. See #1423 and dlang/dmd#5183.
1 parent ebea990 commit 07e315e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

spec/statement.dd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,13 +1485,9 @@ $(GNAME TryStatement):
14851485
$(D try) $(PSSCOPE) $(GLINK FinallyStatement)
14861486

14871487
$(GNAME Catches):
1488-
$(GLINK LastCatch)
14891488
$(GLINK Catch)
14901489
$(GLINK Catch) $(I Catches)
14911490

1492-
$(GNAME LastCatch):
1493-
$(D catch) $(PS0)
1494-
14951491
$(GNAME Catch):
14961492
$(D catch $(LPAREN)) $(GLINK CatchParameter) $(D $(RPAREN)) $(PS0)
14971493

0 commit comments

Comments
 (0)