[Issue 223] Error message for unset constants doesn't specify error location

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 15 09:23:57 PDT 2006


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


lio at lunesu.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Error message for void.init |Error message for unset
                   |doesn't specify error       |constants doesn't specify
                   |location                    |error location




------- Comment #3 from lio at lunesu.com  2006-09-15 11:23 -------
The same incomplete error is generated for the following code:

void main()
{
        const int x;
}

DMD v0.166:
UnhandledError(0,0): Error: integral constant must be scalar type, not void


-- 




More information about the Digitalmars-d-bugs mailing list