-
-
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
Cgen error with mutexes #18088
Labels
Bug
This tag is applied to issues which reports bugs.
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.
Comments
felipensp
added
the
Unit: Compiler
Bugs/feature requests, that are related to the V compiler in general.
label
May 1, 2023
felipensp
added
the
Unit: cgen
Bugs/feature requests, that are related to the default C generating backend.
label
May 31, 2023
In this case the code must be @medvednikov we should warn on the checker right? |
Yeah, it should be an error. I'm surprised it isn't already. Autoderef perhaps? |
Already fixed. |
Building with
|
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.
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
Code: https://vosca.dev/p/c8b88b8807
Expected Behavior
No errors as on my macOS machine
Current Behavior
Output:
Reproduction Steps
Run code above in playground (Ubuntu 22.04)
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.3.3 fc4c431.e738d67
Environment details (OS name and version, etc.)
The text was updated successfully, but these errors were encountered: