mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.util: fix util.emanager.set_support_color
This commit is contained in:
@@ -39,8 +39,11 @@ pub fn new_error_manager() &EManager {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn (mut e EManager) set_support_color(b bool) {
|
||||
e.support_color = b
|
||||
pub fn (e &EManager) set_support_color(b bool) {
|
||||
unsafe {
|
||||
mut me := e
|
||||
me.support_color = b
|
||||
}
|
||||
}
|
||||
|
||||
fn bold(msg string) string {
|
||||
|
||||
Reference in New Issue
Block a user