Random values at runtime and compilation errors when returning Result in a static method. #22894
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.
V doctor:
What did you do?
./v -g -o vdbg cmd/v && ./vdbg arr_issue.v
What did you expect to see?
Variables b and c contain
1, 2, 3, 4
. No random results and compilation errors.What did you see instead?
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.
Huly®: V_0.6-21337
The text was updated successfully, but these errors were encountered: