Thread overview
[Issue 1907] New: Error message without a line number
Mar 11, 2008
d-bugmail
Mar 12, 2008
d-bugmail
Jul 09, 2008
d-bugmail
Jul 09, 2008
d-bugmail
Jul 10, 2008
d-bugmail
March 11, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1907

           Summary: Error message without a line number
           Product: D
           Version: 2.012
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: webmaster@villagersonline.com


dmd 2.012

The following error message needs line number info.

CODE
  template foo(alias A : int) {}
END CODE

OUTPUT
  Error: int is not a symbol
END OUTPUT


-- 

March 12, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1907


technocrat7@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic




------- Comment #1 from technocrat7@gmail.com  2008-03-12 07:58 -------
Added "diagnostic" keyword since it's evil for error messages to omit line numbers.


-- 

July 09, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1907


clugdbug@yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from clugdbug@yahoo.com.au  2008-07-09 07:10 -------
Fixed DMD1.032


-- 

July 09, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1907





------- Comment #3 from webmaster@villagersonline.com  2008-07-09 14:26 -------
Note that it appears that newer versions of DMD allow the example code, so there is no message to fix!


-- 

July 10, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1907





------- Comment #4 from clugdbug@yahoo.com.au  2008-07-10 07:52 -------
It was still causing an error on DMD1.x. That's now been fixed. The original code compiled starting with DMD 2.031.


--