1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

errors: remove 0 from caret line

This commit is contained in:
Delyan Angelov 2020-04-06 20:41:33 +03:00
parent bc2ea2f3d4
commit 333e725380

View File

@ -101,7 +101,7 @@ pub fn formated_error(kind string /*error or warn*/, emsg string, filepath strin
pointerline << if emanager.support_color { term.bold(term.blue('^')) } else { '^' }
break
}
clines << '${0:5d}| ' + pointerline.join('')
clines << ' ' + pointerline.join('')
}
}
source_context += clines.join('\n')