[Issue 4623] Non-integer type allowed as static array size

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 30 06:27:02 PDT 2010


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



--- Comment #4 from Don <clugdbug at yahoo.com.au> 2010-09-30 06:26:43 PDT ---
(In reply to comment #3)
> You can catch it in parse.c
[snip]

You can, but then it doesn't catch things like:

const float f = 1.23;

int[f] z;

> I certainly don't mind either way. Your patch works just great, thanks!

It looks as though you got that case from dstress. Have you been running the
dstress tests? If you have, I'd be very interested to see the results. I
believe that all the compiler ICE bugs are fixed, but I have no idea about how
many others are still failing.

-- 
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