From f2864695c3cb4f079b38cba7d48a06b437a2a257 Mon Sep 17 00:00:00 2001 From: Akuli Date: Wed, 15 Jan 2025 21:12:06 +0200 Subject: [PATCH] fix --- compiler/typecheck/step3_function_and_method_bodies.jou | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/typecheck/step3_function_and_method_bodies.jou b/compiler/typecheck/step3_function_and_method_bodies.jou index b825ce9a..65ae2744 100644 --- a/compiler/typecheck/step3_function_and_method_bodies.jou +++ b/compiler/typecheck/step3_function_and_method_bodies.jou @@ -1024,7 +1024,7 @@ def typecheck_expression(ft: FileTypes*, expr: AstExpression*) -> None: do_explicit_cast(ft->current_fom_types, &expr->as_->value, result, expr->location) case _: - printf("%d\n", expr->kind) + printf("%d\n", expr->kind as int) assert False assert result != NULL