www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8058] New: assert(false) displays incomplete filename

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

           Summary: assert(false) displays incomplete filename
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody puremagic.com
        ReportedBy: tim.dolores gmail.com



---
Created an attachment (id=1101)
assertFilenameBug.d: Code to demo the issue

If assert() is called without a message, then the filename is missing
the .d extension. If called with a message string, assert() prints the
correct filename.

Example:

core.exception.AssertError assertFilenameBug(40): Assertion failure
core.exception.AssertError assertFilenameBug.d(39): Test with message


Compile the attached with DMD v2.059 (installed on OS X with 'brew install
dmd'). Run as './assertFilenameBug' or './assertFilenameBug OkayIfHasMessage'.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 06 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8058


Tim Smith <tim.dolores gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------

          mime type|                            |


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 06 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8058


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |DUPLICATE



21:00:45 PDT ---
Pull for Issue 8765 will incorporate this.

*** This issue has been marked as a duplicate of issue 8765 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 22 2012