Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Jan 15, 2025
1 parent ec736b5 commit f286469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/typecheck/step3_function_and_method_bodies.jou
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f286469

Please sign in to comment.