Re: Unittests being broken

2022-05-05 Thread René Zwanenburg via Digitalmars-d-learn
On Thursday, 5 May 2022 at 01:44:37 UTC, Ruby The Roobster wrote: Some code I have: (...) What can I do to fix this? I didn't try your code, but opList, funcList, and noTouch are thread-local variables, and you fill them in a shared static this. This means they will remain empty in any

Unittests being broken

2022-05-04 Thread Ruby The Roobster via Digitalmars-d-learn
Some code I have: ```d alias Operator = dstring function(dstring input); //List of all operations. package Operator[dstring] opList; //List of all functions. package dstring[dstring] funcList; //Functions that may not be deleted. package dstring[dstring] noTouch; //Initialize the basic