-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C error when assigning generic fixed size array to a variable #19903
Comments
No reproduction. |
Are you compiling with tcc? Because compiling with clang makes it work |
v -cc clang, no reproduction. |
Are you using latest V? |
yes |
Why does your v version say ab4330c? |
oh sorry, it's 373da77. I took a screenshot in my other branch by mistake. |
Thanks a lot. Yes, that's true |
Describe the bug
gives:
Reproduction Steps
Try compiling the above code
Expected Behavior
Compile successfully
Current Behavior
Possible Solution
No response
Additional Information/Context
Compiling with
v -cc clang
makes it compile successfullyIssue very similar to #19872
V version
V 0.4.3 e9258c2
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: