C error undeclated function: spawn method with param as interface defined in another module #23471
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
spawn a method with a parameter implementing an interface defined in another module causes C error. Works if
spawn
Reproduction Steps
File
bugs/record.v
withmain
:File
bugs/records/record.v
Expected Behavior
No C error
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.9 da3112e.9ba294b
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: