Thread overview
[Issue 5745] New: Missing error line number with lazy argument
Mar 17, 2011
Don
Jul 11, 2011
yebblies
Aug 12, 2011
Walter Bright
March 16, 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@puremagic.com
        ReportedBy: bearophile_hugs@eml.cc


--- Comment #0 from bearophile_hugs@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: -------
March 17, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5745


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug@yahoo.com.au
           Severity|minor                       |critical


--- Comment #1 from Don <clugdbug@yahoo.com.au> 2011-03-16 17:13:29 PDT ---
Please mark all missing line number bugs as 'critical' + 'diagnostic'. They are among the most frustrating diagnostic bugs, especially when they happen on a large code base. (They're not really much better than an internal compiler error).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 11, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5745


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |yebblies@gmail.com


--- Comment #2 from yebblies <yebblies@gmail.com> 2011-07-12 02:13:40 EST ---
https://github.com/D-Programming-Language/dmd/pull/227

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 12, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5745


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2011-08-11 22:51:41 PDT ---
https://github.com/D-Programming-Language/dmd/commit/b6dead3be11cc44265cd4288549fcd114a127768

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