https://issues.dlang.org/show_bug.cgi?id=4733
--- Comment #43 from Nick Treleaven <[email protected]> --- kdevel adds detail that `if (arr.ptr)` and `if (arr)` are not the same! The difference is significant for typeid(T).initializer, which has a null pointer but non-zero length: https://forum.dlang.org/post/[email protected] Note that `if (arr !is null)` is equivalent to `if (arr)`. Those check both the .ptr and .length fields (i.e. `is null` means exactly the same as `is []`). --
