https://issues.dlang.org/show_bug.cgi?id=22579
--- Comment #4 from moonlightsenti...@disroot.org --- (In reply to Paul Backus from comment #1) > Here's a full example that reproduces the error: That reduction is inaccurate because it actually compiles both modules. It doesn't matter whether the unittest is nested inside of a template when the module (issue22579.d) is explicitly passed on the command line. --