C error only with -autofree
flag.
#19495
Labels
Bug
This tag is applied to issues which reports bugs.
Build
V build error on any OS/CPU architecture.
Unit: cgen
Bugs/feature requests, that are related to the default C generating backend.
Unit: Memory Management
Bugs/feature requests, that are related to the memory management of the compiler.
Describe the bug
A C error is generated from
maybe_error()!
only when-autofree
flag is set.Reproduction Steps
Expected Behavior
Expected code to write a file with
string
inside of it.Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V full version: V 0.4.2 ae5b4bb.c030c5e
Environment details (OS name and version, etc.)
Note
You can vote for this issue using the 👍 reaction. More votes increase the issue's priority for developers.
Take into account that only the 👍 reaction counts as a vote.
Only reactions to the issue itself will be counted as votes, not comments.
The text was updated successfully, but these errors were encountered: