V compiler fails to pass struct method to C #21980
Labels
Bug
This tag is applied to issues which reports bugs.
Generics[T]
Bugs/feature requests, that are related to the V generics.
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
V compiler fails to pass struct method to C.
Reproduction Steps
Small sample that reproduces the bug: https://github.com/veranovus/v-bug-report
Expected Behavior
I was expecting struct's method to be passed to the C function.
Current Behavior
Possible Solution
No idea, fix compiler ^^
Additional Information/Context
No response
V version
V 0.4.7 a4b8768
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: