https://issues.dlang.org/show_bug.cgi?id=21813
Nicholas Wilson <iamthewilsona...@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iamthewilsona...@hotmail.co | |m --- Comment #2 from Nicholas Wilson <iamthewilsona...@hotmail.com> --- defaultTargetOS is a trivial leaf function: Target.OS defaultTargetOS() { static if (TARGET.Windows) return Target.OS.Windows; else static if (TARGET.Linux) return Target.OS.linux; else static if (TARGET.OSX) return Target.OS.OSX; else static if (TARGET.FreeBSD) return Target.OS.FreeBSD; else static if (TARGET.OpenBSD) return Target.OS.OpenBSD; else static if (TARGET.Solaris) return Target.OS.Solaris; else static if (TARGET.DragonFlyBSD) return Target.OS.DragonFlyBSD; else static assert(0, "unknown TARGET"); } is it hitting the static assert? --