[Issue 5745] New: Missing error line number with lazy argument

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 16 16:48:42 PDT 2011


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: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at 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: -------


More information about the Digitalmars-d-bugs mailing list