-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Missing result locations for builtin types #16211
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
Comments
|
It makes sense that |
What I assumed from your comment:
is that since the destination is not a const pointer, then the compiler should automatically cast away the constness, since it is safe. |
Zig Version
0.11.0-dev.3826+7a197f124
Steps to Reproduce and Observed Behavior
While porting microzig to latest zig version I have found couple of missing result locations for builtins.
It also applies to other builtins.
Expected Behavior
Every example to compile.
The text was updated successfully, but these errors were encountered: