cgen error when -g
is used on a program containing an if expression, with comptime if inside its branches
#22873
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.
V doctor:
What did you do?
./v -g -o vdbg cmd/v && ./vdbg /tmp/bug.v
What did you expect to see?
A compiled program, even with -g (it compiles without it)
What did you see instead?
Huly®: V_0.6-21316
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: