[Issue 5547] Improve assert to give information on values given to it when it fails

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 5 16:07:00 PDT 2012


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #8 from bearophile_hugs at eml.cc 2012-09-05 16:07:28 PDT ---
(In reply to comment #6)

> Currently, there are so many unittests in Phobos that the compiler sometimes
> runs out of memory. This will add a lot more and may push a lot more over the
> edge.

A large program written by D users risks having the same amount of unit-tests,
so this is a general problem, not just of Phobos.

So maybe the right solution is not to keep assert() dumb, but to find ways to
compile unit-tests using much less memory.

I think this idea also goes well with compiling unit-tests more independently
from each other, to give the user a simple summary of what tests have failed.

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