Skip to content

Commit cbe607b

Browse files
committed
vfmt: fix compilation warning
1 parent 9b0c96d commit cbe607b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/v/fmt/fmt.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pub fn (mut f Fmt) process_file_imports(file &ast.File) {
7979
for imp in file.imports {
8080
f.mod2alias[imp.mod.all_after_last('.')] = imp.alias
8181
for sym in imp.syms {
82-
f.mod2alias['$imp.mod\.$sym.name'] = sym.name
82+
f.mod2alias['${imp.mod}.$sym.name'] = sym.name
8383
f.mod2alias[sym.name] = sym.name
8484
}
8585
}

0 commit comments

Comments
 (0)