Eliding would be done by the compiler where the values aren’t used. That’s whole meaning of the word “elide” in a language context.
From the developer’s point of view, the values would always be there, just unused. The compiler would just make them disappear at compile time if unused.
> You now need to carry around the extra syntactic complexity and/or the extra wasted memory
This quote is from your GP post, and I read this as arguing against having the mechanism for getting this payload in the language (and hence the compiler itself), so my language was intended. Am I misunderstanding?
Ah. I think I see what you were saying now. The word “elide” has different connotations to me than the word “omit”. Zig’s omission of error context is something I agree is problematic.
From the developer’s point of view, the values would always be there, just unused. The compiler would just make them disappear at compile time if unused.