https://issues.dlang.org/show_bug.cgi?id=18757
uplink.co...@googlemail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |uplink.co...@googlemail.com --- Comment #3 from uplink.co...@googlemail.com --- Well invariants cannot apply to static methods since they are only concerned about the object's state. which by definition cannot be directly touched in static functions. that's why it's not called. I don't see that there is a basis to issue a warning. --