#can ZON contain void literals
1 messages · Page 1 of 1 (latest)
nope
i know void for sure isnt, idk about undefined but it would be wierd and a foot gun if it was supported
(less work for me)
why a footgun
using undefined data is unchecked illegal behaviour
might you be confusing it with null?
no i was just curious since you can use undefined in zig code to e.g. leave a struct field uninitialized to initialize it later