cgen error when returning fixed size array from unsafe function #23546
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.
Describe the bug
A function call to an unsafe function returning a fixed size array produces a c compiler error, when wrapped with a unsafe block.
Reproduction Steps
The following code will not compile.
Expected Behavior
Compiles with no errors.
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.9 4e68a86
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: