On Thursday, 17 October 2013 at 23:12:03 UTC, ProgrammingGhost wrote:
is null still treats [] as null.

blah, you're right. It will at least distinguish it from an empty slice though (like arr[$..$]). I don't think there's any way to tell [] from null except typeof(null) at all. At runtime they're both the same: no contents, so null pointer and zero length.

Reply via email to