Skip to content

Commit 39c94ef

Browse files
authored
builtin: fix variable typo in panic_n3() (#25648)
1 parent f2b5aee commit 39c94ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/builtin/builtin.c.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pub fn panic_n2(s string, number1 i64, number2 i64) {
197197
@[noreturn]
198198
fn panic_n3(s string, number1 i64, number2 i64, number3 i64) {
199199
panic(s + impl_i64_to_string(number1) + ', ' + impl_i64_to_string(number2) + ', ' +
200-
impl_i64_to_string(number2))
200+
impl_i64_to_string(number3))
201201
}
202202

203203
// panic with a C-API error message matching `errnum`

0 commit comments

Comments
 (0)