C compile error in option field in a struct #23446
Labels
Bug
This tag is applied to issues which reports bugs.
Status: Confirmed
This bug has been confirmed to be valid by a contributor.
Unit: cgen
Bugs/feature requests, that are related to the default C generating backend.
Unit: Compiler
Bugs/feature requests, that are related to the V compiler in general.
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.
The text was updated successfully, but these errors were encountered: