diff --git a/src/compiler/sema_stmts.c b/src/compiler/sema_stmts.c index dedd6823a..2a304c42b 100644 --- a/src/compiler/sema_stmts.c +++ b/src/compiler/sema_stmts.c @@ -426,10 +426,6 @@ static inline bool sema_analyse_block_exit_stmt(SemaContext *context, Ast *state statement->ast_kind = AST_BLOCK_EXIT_STMT; context->active_scope.jump_end = true; Type *block_type = context->expected_block_type; - if (type_is_optional(block_type)) - { - puts("foek"); - } Expr *ret_expr = statement->return_stmt.expr; if (ret_expr) {