var/const type inference into symbol table fix