https://issues.dlang.org/show_bug.cgi?id=23676
--- Comment #2 from Bradley Chatha <brad...@chatha.dev> --- Even more strangely: If you delete any line within the body of the case statement that is guarded by the fault `static if`, compilation succeeds. What a very strange edge case this is hitting. --