[Issue 8765] assert should print the source code for the condition when no message argument present

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 20 16:33:24 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8765


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-20 16:33:23 PDT ---
(In reply to comment #0)
> assert(5 == 4);

When there is no message I can change this to:

core.exception.AssertError at test.d(5): assert(5 == 4)

Would this be ok with Walter? It's a 2 line change in the front-end.

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


More information about the Digitalmars-d-bugs mailing list