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