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:
committed by
Alexander Medvednikov
parent
746655c1d5
commit
8974aa4513
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user