#can ZON contain void literals

1 messages · Page 1 of 1 (latest)

astral pond
#

and undefined

zenith oasis
#

nope

astral pond
#

cool

#

but also cringe

zenith oasis
#

i know void for sure isnt, idk about undefined but it would be wierd and a foot gun if it was supported

astral pond
zenith oasis
#

using undefined data is unchecked illegal behaviour
might you be confusing it with null?

astral pond
#

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