https://issues.dlang.org/show_bug.cgi?id=17387
--- Comment #2 from Nick Treleaven <[email protected]> --- Yes, thanks. What I was confused by was actually when the struct is defined inside the unittest with the static keyword - pure is not inferred. Non-static nested struct inference works, it seemed weird that adding static prevents inference. But obviously the compiler treats it the same as the code in comment 0. --
