digitalmars.D - Pattern-matching qualifiers with is() expressions
- Andrei Alexandrescu (4/4) Oct 03 2016 Am I doing something wrong? This is a fairly basic match, I'm surprised
- Jonathan M Davis via Digitalmars-d (10/13) Oct 03 2016 My guess is that it hasn't been fined primarily because that version of ...
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 Andrei
Oct 03 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=16581My 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
Oct 03 2016