On Friday, 15 July 2022 at 11:12:07 UTC, Steven Schveighoffer wrote:
Note that the term `null` and `[]` are special tokens that morph type to whatever is most appropriate at the time. `null` implicitly can be typed as any pointer type, or any array type. `[]` can be typed as any array type. However, it can't be implicitly typed as `typeof(null)`, which is a special unit type.

Thank you. I didn't know what to do with a null array though? I think void[] would be more useful.

SDB@79

Reply via email to