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

           Summary: Missing error line number with lazy argument
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2011-03-16 16:45:30 PDT ---
D2 code:

pure void foo(lazy int x) {}
void main() {
    foo(1);
}


DMD 2.052 shows an error without line number:
Error: cannot have lazy parameters to a pure function

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to