v
v copied to clipboard
c error with $tmpl()
V version: Latest git OS: Arch Linux x64
What did you do?
hi
hi
v4.v
print($tmpl('hi'))
What did you expect to see?
What did you see instead?
==================
/tmp/v_1000/v4.17841263991354274348.tmp.c:11491: error: '_tmpl_res_main__main6' undeclared
...
==================
(Use `v -cg` to print the entire error message)
builder error:
==================
C error. This should never happen.
This is a compiler bug, please report it using `v bug file.v`.
https://github.com/vlang/v/issues/new/choose
You can also use #help on Discord: https://discord.gg/vlang
Hi @Dialga, seems that now it's working, can you check?
I'm getting now: hi
Yes it works now.