Functions to ignore uninitialized globals #2881
Denneisk
started this conversation in
Suggestions
Replies: 1 comment 1 reply
-
I think best thing we could do here is to maybe defer compilation of the body of a function until the first call of it? Would be a bit odd for error feedback, but Zig does this without issue. I don't think it should be that hard to structure your code to initialize your globals first, though |
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
Uh oh!
There was an error while loading. Please reload this page.
-
So
Does not cause a warning.
Beta Was this translation helpful? Give feedback.
All reactions