cgen: using a mut method of mut generic array parameter makes undefined symbol error #23566
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
An array of generic type for parameters are frequently used in many cases.
However, directly writing any mutable methods of the mutable parameters makes undefined symbol error.
Reproduction Steps
Expected Behavior
compile, and it should use
array_grow_cap
.Current Behavior
Array_int_grow_cap
is used, and it makes an error below.Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.9 da5bb68
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: