vfmt: fix compilation warning
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