Re: default construction is disabled for type
So I find out the issue: it was due a struct member of the class having @disable this();
Re: default construction is disabled for type
public this() { } Doesn't change anything...
default construction is disabled for type
What's that error? below code used to work fine, now it gives this compiler error. class Keyword { this(string value, Token type) { this.value = value; this.type = type; } string value; Token type; Keyword next; } static Keyword[] hashtab = new Keyword[hashtab_siz];