v icon indicating copy to clipboard operation
v copied to clipboard

c error with $tmpl()

Open Dialga opened this issue 3 years ago • 1 comments

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

Dialga avatar May 04 '22 09:05 Dialga

Hi @Dialga, seems that now it's working, can you check? I'm getting now: hi

esquerbatua avatar Sep 26 '24 21:09 esquerbatua

Yes it works now.

Dialga avatar Dec 14 '24 06:12 Dialga