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
cc: C:/Users/dario/AppData/Local/Temp/v_0/marco.01JHDMTGSCW33PCJ7ETMJQF2CH.tmp.c:4628: warning: implicit declaration of function 'tcc_backtrace'
cc: C:/Users/dario/AppData/Local/Temp/v_0/marco.01JHDMTGSCW33PCJ7ETMJQF2CH.tmp.c:7722: error: cannot convert 'struct _option_Map_string_string' to 'int'
... (the original output was 3 lines long, and was truncated to 2 lines)
=================================================================
(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 .
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.9 d2b30df
Environment details (OS name and version, etc.)
Ubuntu 22, Windows 10
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.
Describe the bug
Using an option field with map in structs generate C compiler error
Reproduction Steps
compile:
Expected Behavior
The print of the field or its option
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.9 d2b30df
Environment details (OS name and version, etc.)
Ubuntu 22, Windows 10
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.