mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: fix a wrong index in an error
This commit is contained in:
parent
9a6711fa1b
commit
d9248e8d52
@ -1144,7 +1144,7 @@ fn (p mut Parser) fn_call_args(f mut Fn) {
|
||||
if f.is_method {
|
||||
j--
|
||||
}
|
||||
mut nr := '${i+1}th'
|
||||
mut nr := '${j+1}th'
|
||||
if j == 0 {
|
||||
nr = 'first'
|
||||
} else if j == 1 {
|
||||
|
Loading…
Reference in New Issue
Block a user