[Issue 1212] New: dmd generates bad line info

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 5 06:59:50 PDT 2007


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

           Summary: dmd generates bad line info
           Product: D
           Version: 1.014
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: davidl at 126.com


int func1(){return 1;}
int func2(){return 1;}
int myfunc()
{
    return (func1+
           (func2;
}
void main()
{
}

error message :
bug1.d(11): found ';' when expecting ')'
bug1.d(5): found '}' when expecting ')'


-- 



More information about the Digitalmars-d-bugs mailing list