1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

compiler/vlib: change _ := to _ = and disable _ :=

This commit is contained in:
joe-conigliaro
2019-09-25 22:10:45 +10:00
committed by Alexander Medvednikov
parent 746655c1d5
commit 8974aa4513
12 changed files with 33 additions and 33 deletions

View File

@@ -31,7 +31,7 @@ pub fn compile_template(path string) string {
s.writeln('module main import strings fn ${base}_view() string { // this line will get removed becase only function body is embedded
mut sb := strings.new_builder(${lines.len * 30})
header := \'$header\'
_ := header
_ = header
//footer := \'footer\'
')
s.writeln(STR_START)