C error when running a function that returns a reference in a thread #20836
Labels
Bug
This tag is applied to issues which reports bugs.
Unit: cgen
Bugs/feature requests, that are related to the default C generating backend.
Describe the bug
When running a function that returns a reference with
spawn
, the V compiler generates a C errorReproduction Steps
Expected Behavior
the code to run without errors
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
0.4.4
Environment details (OS name and version, etc.)
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: