[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
Sun Oct 21 14:07:49 PDT 2012


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|nobody at puremagic.com        |andrej.mitrovich at gmail.com


--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-21 14:07:48 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> 
> > Actually wait a minute, it already does this in 2.060. Is there some other
> > example where this doesn't work?
> 
> If I compile and run this program (Windows):
> 
> 
> void main() {
>     assert(5 == 4);
> }
> 
> 
> It gives me:
> 
> core.exception.AssertError at test(2): Assertion failure
> 
> Followed by a stack trace.

OK will fix then.

-- 
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