www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1907] New: Error message without a line number

reply d-bugmail puremagic.com writes:
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


-- 
Mar 11 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1907


technocrat7 gmail.com changed:

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





Added "diagnostic" keyword since it's evil for error messages to omit line
numbers.


-- 
Mar 12 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1907


clugdbug yahoo.com.au changed:

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





Fixed DMD1.032


-- 
Jul 09 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1907






Note that it appears that newer versions of DMD allow the example code, so
there is no message to fix!


-- 
Jul 09 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1907






It was still causing an error on DMD1.x. That's now been fixed. The original
code compiled starting with DMD 2.031.


-- 
Jul 10 2008