[Issue 10816] Support for is(T1 != T2) syntax
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 13 09:01:07 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10816
--- Comment #3 from timon.gehr at gmx.ch 2013-08-13 09:01:05 PDT ---
(In reply to comment #2)
> 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.
Are you aware that is(T1==T2) gives false for invalid T1 and error for invalid
T2?
--
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