[Issue 857] New: Error: no size for type void() doesn't show the line number

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 19 12:26:07 PST 2007


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

           Summary: Error: no size for type void() doesn't show the line
                    number
           Product: D
           Version: 1.00
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: deewiant at gmail.com


void main() {
        void function()[] x;
        x = &main ~ x;
}

The above invalid code causes the error "Error: no size for type void()". The
error on which the line occurs is not reported.


-- 



More information about the Digitalmars-d-bugs mailing list