[Issue 1176] New: Error missing file and line number

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 23 01:41:52 PDT 2007


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 at digitalmars.com
        ReportedBy: wbaxter at 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.


-- 



More information about the Digitalmars-d-bugs mailing list