interface variable breaks -autofree #22074
Labels
Autofree
Bugs/feature requests, that are related to -autofree.
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.
Unit: Memory Management
Bugs/feature requests, that are related to the memory management of the compiler.
V doctor:
What did you do?
./v -g -o vdbg cmd/v && ./vdbg src/main.v
What did you expect to see?
When compiled normally, a PRNG gets created and nothing happens. When compiled using -autofree, a C error appears.
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.
The text was updated successfully, but these errors were encountered: