Identify enum

Moritz Warning moritzwarning at web.de
Tue Jul 22 10:31:39 PDT 2008


On Tue, 22 Jul 2008 16:59:01 +0000, BCS wrote:

> Reply to Moritz,
> 
>> On Mon, 21 Jul 2008 20:42:41 +0000, BCS wrote:
>> 
>>> Reply to Moritz,
>>> 
>>>> ^ Yes, that's the approach I use and the problem that gives me a
>>>> headache.
>>>> 
>>> Well I think you're toast: this test cases fails
>>> 
>>> enum Foo{a}
>>> static assert("Foo" == Foo.stringof, "'Foo' == '"~Foo.stringof~"'");
>>> Might be a bug, but it might already be reported.
>>> 
>> I'm pretty sure it was reported already. :F
>> 
>> 
> If you can find it you might add a comment in the hope that it will get
> fixed sooner.

Here it is:
http://d.puremagic.com/issues/show_bug.cgi?id=1610


More information about the Digitalmars-d-learn mailing list