Pattern-matching qualifiers with is() expressions

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 3 09:54:12 PDT 2016


On Monday, October 03, 2016 12:40:45 Andrei Alexandrescu via Digitalmars-d 
wrote:
> Am I doing something wrong? This is a fairly basic match, I'm surprised
> this hasn't surfaced yet:
>
> https://issues.dlang.org/show_bug.cgi?id=16581

My guess is that it hasn't been fined primarily because that version of an
is expression probably isn't used all that often. And if the problem is
qualifier-specific, then in order to hit the bug, someone would have to not
only use that specific version of an is expression, but they'd have to be
testing qualifiers with it as well. And I'd guess that that just isn't very
common. Not to mention, even if some code did hit it, depending on what the
it did, the bug might go unnoticed.

- Jonathan M Davis



More information about the Digitalmars-d mailing list