https://issues.dlang.org/show_bug.cgi?id=19906 --- Comment #3 from Sprink <sprink.noreply at gmail.com> --- Just to clarify the logic would still be incorrect. It would always be true unless there was some kind of error in __traits(). --