"foo.bar !in baz" not allowed?

Magnus Lie Hetland magnus at hetland.org
Sun Mar 13 15:22:30 PDT 2011


On 2011-03-13 21:27:27 +0100, spir said:

> On 03/13/2011 07:58 PM, Magnus Lie Hetland wrote:
>> For some reason, it seems like expressions of the form "foo.bar !in baz" aren't
>> allowed. I suspect this is a grammar/parser problem -- the bang is interpreted
>> as a template argument operator, rather than a negation operator,
[snip]
> Would be nice to copy the error, wouldn't it?
> 	template argument expected following !

Ah. I thought my explanation (see above) made that clear.

> Anyway, this is definitely a bug in my opinion.

Turns out it's an old one. Sorry about that:

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

-- 
Magnus Lie Hetland
http://hetland.org



More information about the Digitalmars-d-learn mailing list