On 9/12/22 10:29, H. S. Teoh wrote: > write a unittest where you instantiate Foo with a > deliberately-impure type Yes. A current on-topic thread on the difficulties of covering all corner cases: https://forum.dlang.org/thread/dmnfdqiplbldxkecpned@forum.dlang.org Ali