why cannot spawn function defined in unittest block {}?
Adam D. Ruppe
destructionator at gmail.com
Sat Jun 20 18:01:51 UTC 2020
On Saturday, 20 June 2020 at 17:43:42 UTC, mw wrote:
> the function defined in unittest become a delegate? how to
> work-around this?
just add the keyword static to the functions
More information about the Digitalmars-d-learn
mailing list