parser: fix a wrong index in an error
parent
9a6711fa1b
commit
d9248e8d52
|
@ -1144,7 +1144,7 @@ fn (p mut Parser) fn_call_args(f mut Fn) {
|
||||||
if f.is_method {
|
if f.is_method {
|
||||||
j--
|
j--
|
||||||
}
|
}
|
||||||
mut nr := '${i+1}th'
|
mut nr := '${j+1}th'
|
||||||
if j == 0 {
|
if j == 0 {
|
||||||
nr = 'first'
|
nr = 'first'
|
||||||
} else if j == 1 {
|
} else if j == 1 {
|
||||||
|
|
Loading…
Reference in New Issue