www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1176] New: Error missing file and line number

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1176

           Summary: Error missing file and line number
           Product: D
           Version: 1.013
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: wbaxter gmail.com


"Error: cannot implicitly convert expression (_param_0) of type
luigi.gui.Widget to luigi.gui.Button"

The above error appeared because of a line of code like this:

       b31b.clicked ~= (Button b){
           onApplyTexture();
       };

All error messages should print file an line numbers, preferably in the form:
 <filename>(<linenumber>): Error: <the message>

This makes it easier for IDEs and text editors to automatically take the user
to the line that generated the error.


-- 
Apr 23 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1176


thomas-dloop kuehne.cn changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Windows                     |All





test case:
http://dstress.kuehne.cn/nocompile/v/void_02_D.d


-- 
Apr 27 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1176


clugdbug yahoo.com.au changed:

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





Fixed DMD1.032


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






Fixed dmd 1.032 and 2.016


-- 
Jul 09 2008