From cbe607baf244f42349ae05b78e4ce7152fc933c0 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 27 Nov 2020 10:40:56 +0200 Subject: [PATCH] vfmt: fix compilation warning --- vlib/v/fmt/fmt.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/fmt/fmt.v b/vlib/v/fmt/fmt.v index 21a63c916e..b8932f5584 100644 --- a/vlib/v/fmt/fmt.v +++ b/vlib/v/fmt/fmt.v @@ -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 } }