impure

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Mon Apr 8 11:29:20 UTC 2024


On Monday, 8 April 2024 at 07:53:01 UTC, Dom DiSc wrote:
>
>> On Sunday, 24 March 2024 at 07:41:41 UTC, Dom DiSc wrote:
>> Try `debug unittest {...}`?
>
> Cool. This seems to work. That's a nice workaroud for tests. 
> Yay!

Nice, fyi, you can use it with statements inside function bodies 
as well. Usefull for doing logging in pure functions.



More information about the Digitalmars-d-learn mailing list