-
-
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 with anonymous functions #23170
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.
Comments
We need more tests to avoid it. :-) |
felipensp
added
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.
labels
Dec 15, 2024
spytheman
pushed a commit
that referenced
this issue
Dec 15, 2024
This fix does not resolve the first two errors listed in the original post. After updating to this commit I still get these two:
|
Oh It fixes on tcc for running client.v I havent tried to run It on another compiler. |
@islonely please check with latest V. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
C error is produced when using anonymous functions in a structure. It used to compile in the past. Breaking changes make me sad :(
Reproduction Steps
v run client
on this repo:https://github.com/islonely/shattlebip
Expected Behavior
Expected code to compile and run.
Current Behavior
C error being spit out.
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.8 2911f29.9e71e32
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.
Huly®: V_0.6-21608
The text was updated successfully, but these errors were encountered: