Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Jan 10, 2025
1 parent d09ea00 commit 2d2ab19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/build_cf_graph.jou
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ def build_assert(st: State*, assert_location: Location, assertion: AstAssertion*

arg1 = add_local_var(st, argtypes[0])
arg2 = add_local_var(st, argtypes[1])
arg3 = add_local_var(st, argtypes[1])
arg3 = add_local_var(st, argtypes[2])

add_constant(st, assert_location, Constant{kind = ConstantKind::String, str = assertion->condition_str}, arg1)
add_constant(st, assert_location, Constant{kind = ConstantKind::String, str = assertion->condition.location.path}, arg2)
Expand Down

0 comments on commit 2d2ab19

Please sign in to comment.