Empty interface array push fixed array C error #23011
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
We push a fixed array to an array of empty interfaces and got a C error.
Reproduction Steps
Expected Behavior
Prevent compiling line
a << [7,8]!
and notify user like with regular arrays (linei << [3,4]!
).Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.8 f2c281e
Environment details (OS name and version, etc.)
https://play.vlang.io/p/d6f2c96b61
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.
Huly®: V_0.6-21452
The text was updated successfully, but these errors were encountered: