cgen error when using sdl.Window
as non-ref type for struct field
#23042
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.
Unit: Compiler
Bugs/feature requests, that are related to the V compiler in general.
Describe the bug
Reproduction Steps
This code with
vlang/sdl
2.30.0
branch checked out in~/.vmodules/sdl
Expected Behavior
run + clean exit
Current Behavior
Possible Solution
Some of this could maybe be prevented in
vlang/sdl
via attributes - but I think the C error should not happen.Additional Information/Context
SDL2 v 2.30.0
V version
V 0.4.8 40dc775
Environment details (OS name and version, etc.)
EndeavourOS. Arch-based, rolling distro
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-21482
The text was updated successfully, but these errors were encountered: