mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gen: fix compilter_test.v error on windows
This commit is contained in:
parent
4b3ce79e84
commit
cd5dccd855
@ -472,7 +472,7 @@ fn (mut g Gen) fn_call(node ast.CallExpr) {
|
||||
}
|
||||
} else if g.pref.is_debug && node.name == 'panic' && g.fn_decl.name != '__as_cast' {
|
||||
paline := node.pos.line_nr + 1
|
||||
pafile := g.fn_decl.file
|
||||
pafile := g.fn_decl.file.replace('\\', '/')
|
||||
pafn := g.fn_decl.name.after('.')
|
||||
mut pamod := g.fn_decl.name.all_before_last('.')
|
||||
if pamod == pafn {
|
||||
|
Loading…
Reference in New Issue
Block a user