parser: fix a wrong index in an error

pull/2975/head^2
Alexander Medvednikov 2019-12-04 13:36:26 +03:00
parent 9a6711fa1b
commit d9248e8d52
1 changed files with 1 additions and 1 deletions

View File

@ -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 {