mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: fix error messages and add checker tests
* checker: fix error messages * tests: fix command and ignore defect output
This commit is contained in:
@@ -95,10 +95,8 @@ pub fn formatted_error(kind string /*error or warn*/, emsg string, filepath stri
|
||||
}
|
||||
continue
|
||||
}
|
||||
for i in 0..pos.len {
|
||||
underline := '~'.repeat(pos.len)
|
||||
pointerline << if emanager.support_color { term.bold(term.blue(underline)) } else { underline }
|
||||
}
|
||||
underline := '~'.repeat(pos.len)
|
||||
pointerline << if emanager.support_color { term.bold(term.blue(underline)) } else { underline }
|
||||
break
|
||||
}
|
||||
clines << ' ' + pointerline.join('')
|
||||
|
||||
Reference in New Issue
Block a user