[Issue 5905] Error message with const fixed-size array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 2 04:19:28 PDT 2011


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



--- Comment #2 from bearophile_hugs at eml.cc 2011-05-02 04:15:38 PDT ---
(In reply to comment #1)
> What do you suggest? "Missing value for a constant fixed array"?

This sounds better than the current error message.


Noted: currently this code is accepted:

struct Foo {}
void main() {
    const(Foo) f;
}


f is initialized to a const .init.

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