fix prod build

pull/3652/head
Alexander Medvednikov 2020-02-04 17:48:15 +01:00
parent 80daaff874
commit ac5c4e3203
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ pub fn (t mut Table) register_global(name string, typ Type) {
pub fn (t mut Table) register_var(v Var) { pub fn (t mut Table) register_var(v Var) {
println('register_var: $v.name - $v.typ.name') println('register_var: $v.name - $v.typ.name')
mut new_var := { new_var := {
v | v |
idx:t.var_idx, idx:t.var_idx,
scope_level:t.scope_level scope_level:t.scope_level