[Issue 10816] Support for is(T1 != T2) syntax

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 13 08:49:46 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10816


Dicebot <public at dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public at dicebot.lv


--- Comment #2 from Dicebot <public at dicebot.lv> 2013-08-13 08:49:44 PDT ---
I like the idea. Both because of consistency and because that '!' near to 'i'
is so hard to notice.

@Timon

I don't think "is(T1) && !is(T1==T2)" is any useful. It will make "is(T1 != T2)
return false for invalid T1 which is rather surprising. I can't imagine the use
case for it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list