Postmortem: Template unittests are bad & you shouldn't catch Error

Adam D. Ruppe destructionator at gmail.com
Thu Oct 22 16:36:41 UTC 2020


On Thursday, 22 October 2020 at 16:19:30 UTC, Meta wrote:
> It just occurred to me that putting `version(none)` on those 
> tests *might* disable them while also ensuring that the tests 
> show up in the documentation

You should just put the examples in the doc comment at that 
point. (which is really better anyway, that's the way it should 
have been done from the beginning!!!)


More information about the Digitalmars-d mailing list