www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2397] New: wrong file name in error after #line

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

           Summary: wrong file name in error after #line
           Product: D
           Version: 1.029
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: shro8822 vandals.uidaho.edu


interface I {void i();}

pragma(msg,__FILE__);
#line __LINE__ "y.d"
pragma(msg,__FILE__);

class C : I {}


output:
bug2.d
y.d
bug2.d(6): class bug2.C interface function I.i isn't implemented


-- 
Oct 06 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2397


smjg iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg iname.com
           Keywords|                            |diagnostic




------- Comment #1 from smjg iname.com  2008-11-24 10:25 -------
Is this really any different from issue 2180?


-- 
Nov 24 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2397





------- Comment #2 from shro8822 vandals.uidaho.edu  2008-11-24 12:25 -------

yes, 2180 is a different error message. As only some error messages have this
issue, it would seem that the issue is not necessarily common to all instances.
(but the fix might be the same in each place)

Also related to:
issue 2180
issue 2360


-- 
Nov 24 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2397



--- Comment #3 from Don <clugdbug yahoo.com.au> 2010-05-06 12:49:06 PDT ---
*** Issue 2360 has been marked as a duplicate of this issue. ***

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