▲ | hansvm 5 days ago | |||||||
Yes, and if you're paranoid you can write
to guarantee that if you're wrong about how the compiler behaves then you'll get a compiler error. | ||||||||
▲ | dpatterbee 5 days ago | parent [-] | |||||||
Zig has no type info at runtime so this is and always will be guaranteed to be a comptime check. | ||||||||
|