D-Programming-Language/dmd — pull request #4135 by yebblies (2014-11-11 10:07:25+00:00)
Title: Issue 13468 - Wrong code when comparing class reference with typeof(null)

One possible way to fix this bug. This way still allows `==` to be used to compare objects in generic code, which requiring `is` between objects and `typeof(null)` would break.

https://issues.dlang.org/show_bug.cgi?id=13468