diff --git a/vlib/v/gen/c/assert.v b/vlib/v/gen/c/assert.v index 2e1a12f921..5c8ea5adb9 100644 --- a/vlib/v/gen/c/assert.v +++ b/vlib/v/gen/c/assert.v @@ -53,6 +53,7 @@ fn (mut g Gen) gen_assert_stmt(original_assert_statement ast.AssertStmt) { } fn (mut g Gen) gen_assert_postfailure_mode(node ast.AssertStmt) { + g.write_v_source_line_info(node.pos) match g.pref.assert_failure_mode { .default {} .aborts {