-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Remove @fieldParentPtr builtin #7831
Comments
This comment has been minimized.
This comment has been minimized.
Indeed, but that shouldn't matter as |
Is
|
@daurnimator We don't need an absolute address from On the topic of isomorphisms, |
I have proposed #7888 for this exact issue. If accepted, the offset builtins will not be abusable in this way. |
And ??? |
I don't think we can remove |
IIRC one reason in favour of |
One reason in favour of if (meta.trait.hasField(T, "Name[0-9]") {
...
} |
It's better to have
|
This blog shows
@fieldParentPtr
could be implemented in the standard library: https://www.ryanliptak.com/blog/zig-fieldparentptr-for-dumbos/Maybe we should remove the builtin in favor of a user implmentation?
The text was updated successfully, but these errors were encountered: