[dmd-internals] assert inside unittest sucks

Steve Schveighoffer schveiguy at yahoo.com
Mon Jun 28 04:22:58 PDT 2010


Because a unittest assert may not originate inside a unittest block.  If you call a regular function inside a unit test and it asserts, should that function use the normal assert codegen or the unittest codegen?

-Steve



----- Original Message ----
> From: Benjamin Shropshire <benjamin at precisionsoftware.us>
For that 
> matter why should asserts use the same code gen inside unittest 
as out?



      


More information about the dmd-internals mailing list