vfmt: fix compilation warning

pull/6979/head
Delyan Angelov 2020-11-27 10:40:56 +02:00
parent 9b0c96d792
commit cbe607baf2
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ pub fn (mut f Fmt) process_file_imports(file &ast.File) {
for imp in file.imports {
f.mod2alias[imp.mod.all_after_last('.')] = imp.alias
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
}
}