mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: fix compilation warning
This commit is contained in:
parent
9b0c96d792
commit
cbe607baf2
@ -79,7 +79,7 @@ pub fn (mut f Fmt) process_file_imports(file &ast.File) {
|
|||||||
for imp in file.imports {
|
for imp in file.imports {
|
||||||
f.mod2alias[imp.mod.all_after_last('.')] = imp.alias
|
f.mod2alias[imp.mod.all_after_last('.')] = imp.alias
|
||||||
for sym in imp.syms {
|
for sym in imp.syms {
|
||||||
f.mod2alias['$imp.mod\.$sym.name'] = sym.name
|
f.mod2alias['${imp.mod}.$sym.name'] = sym.name
|
||||||
f.mod2alias[sym.name] = sym.name
|
f.mod2alias[sym.name] = sym.name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user