You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only happens when using a multiline string on the footer attribute and parsing with .to_struct(...) (or .using(...). So omitting the body of main results in a successful compilation.
What did you see?
================== C compilation error (from tcc): ==============
cc: /tmp/v_1000/main.01JPJ7CH9DQ9HPAPS0XDM6JWRJ.tmp.c:8583: error: missing terminating " character
=================================================================
(You can pass `-cg`, or `-show-c-output` as well, to print all the C error messages).
builder error:
==================
C error found. It should never happen, when compiling pure V code.
This is a V compiler bug, please report it using `v bug file.v`,
or goto https://github.com/vlang/v/issues/new/choose .
You can also use #help on Discord: https://discord.gg/vlang .
What did you expect to see?
I expect a successful compilation.
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
V version: V 0.4.9 5978cbc, press to see full `v doctor` output
What did you do?
./v -g -o vdbg cmd/v && ./vdbg src/main.v && src/mainThis only happens when using a multiline string on the footer attribute and parsing with
.to_struct(...)(or.using(...). So omitting the body of main results in a successful compilation.What did you see?
What did you expect to see?
I expect a successful compilation.
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.