Replies: 1 comment 1 reply
-
I think, I understand now. The zero value of a pointer is null. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
s.i
is apparently a null value here, which I find really surprising. I thought the zero value of the struct would be initialized here?On the other hand this works:
Can anyone explain what is going on here? This footgun really terrifies me.
Beta Was this translation helpful? Give feedback.
All reactions