Created attachment 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
[email protected](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'.
Comment #1 by andrej.mitrovich — 2012-10-22T21:00:45Z
Pull for Issue 8765 will incorporate this.
*** This issue has been marked as a duplicate of issue 8765 ***