Remove if (catch foo) { case ... } syntax.

This commit is contained in:
Christoffer Lerno
2025-03-07 22:48:28 +01:00
parent facaa75083
commit a088a5057a
17 changed files with 168 additions and 330 deletions

View File

@@ -3765,7 +3765,6 @@ static inline bool sema_check_body_const(SemaContext *context, Ast *body)
case AST_DEFER_STMT:
case AST_FOR_STMT:
case AST_FOREACH_STMT:
case AST_IF_CATCH_SWITCH_STMT:
case AST_IF_STMT:
case AST_BLOCK_EXIT_STMT:
case AST_SWITCH_STMT: