ellery-newcomer at utulsa.edu
Mon Nov 15 11:36:33 PST 2010
parser definitely does it for !in, but it doesn't for the other ones,
and I didn't want to go digging all over the place for it.
Also, spec says yes for !in, but is silent for the other ones
On 11/15/2010 01:08 PM, Steven Schveighoffer wrote:
> On Mon, 15 Nov 2010 14:06:34 -0500, Ellery Newcomer
> <ellery-newcomer at utulsa.edu> wrote:
>> quick question: are the following rewrites always valid:
>> e1 != e2 -> !(e1 == e2)
>> e1 !is e2 -> !(e1 is e2)
>> e1 !in e2 -> !(e1 in e2)
> I believe this is in fact what the compiler does (rewriting).
More information about the Digitalmars-d-learn