Remove debug printout.

This commit is contained in:
Christoffer Lerno
2023-09-29 14:04:13 +02:00
parent fc8b185b5b
commit db4298431d

View File

@@ -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)
{