https://issues.dlang.org/show_bug.cgi?id=340 Issue 340 depends on issue 1197, which changed state.
Issue 1197 Summary: "static if" + enum.max/enum.min doesn't compile (D1 only) https://issues.dlang.org/show_bug.cgi?id=1197 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |WONTFIX --