mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
ignore fn redefined in translated mode
This commit is contained in:
parent
a1fa75d595
commit
e90c184137
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ run them via `v file.v` instead',
|
||||||
if !p.pref.is_fmt {
|
if !p.pref.is_fmt {
|
||||||
name = p.prepend_mod('pure_v_but_overridden_by_${existing.file_mode}_${short_fn_name}')
|
name = p.prepend_mod('pure_v_but_overridden_by_${existing.file_mode}_${short_fn_name}')
|
||||||
}
|
}
|
||||||
} else {
|
} else if !p.pref.translated {
|
||||||
p.table.redefined_fns << name
|
p.table.redefined_fns << name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue