[dmd-internals] assert inside unittest sucks
Benjamin Shropshire
benjamin at precisionsoftware.us
Mon Jun 28 05:53:40 PDT 2010
Steve Schveighoffer wrote:
> 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
>
>
Oh, duh. Now I even remember that thread.
>
> ----- Original Message ----
>
>> From: Benjamin Shropshire <benjamin at precisionsoftware.us>
>>
> For that
>
>> matter why should asserts use the same code gen inside unittest
>>
> as out?
>
>
>
>
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
>
>
More information about the dmd-internals
mailing list