Skip to content

Zig accepts wrong field name #3185

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

Closed
PeyTy opened this issue Sep 6, 2019 · 1 comment
Closed

Zig accepts wrong field name #3185

PeyTy opened this issue Sep 6, 2019 · 1 comment

Comments

@PeyTy
Copy link

PeyTy commented Sep 6, 2019

Moving from reddit to here. Just in case. Feel free to close if a duplicate or known bug (is this a bug?)

https://www.reddit.com/r/Zig/comments/cpquil/made_a_simple_paint_program_with_zig_and_sdl2/

https://gist.github.com/tuket/3b657d8ccadb54ca69a9c0ac4d387789

.colorc on line 32

@andrewrk
Copy link
Member

andrewrk commented Sep 6, 2019

Thanks for the report!

The function is never called, so it is never analyzed. See #3028

@andrewrk andrewrk closed this as completed Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants