On Sun, 13 Nov 2016 00:18:56 GMT, Alexey Kulentsov wrote:

On Sat, 12 Nov 2016 05:36:16 GMT, Uiy Uiy wrote:

This seems to be overkill simply to initialize a variable in the correct order.
Correct order of static vars initialization is not simple.

It could be made to be very simple. Simply order them. e.g., static this(4) comes after static this(2). (where we are passing an element from an ordered set).