digitalmars.D.learn - default construction is disabled for type
- Machine Code (14/14) Mar 05 2019 What's that error? below code used to work fine, now it gives
- Machine Code (1/2) Mar 05 2019 Doesn't change anything...
- Machine Code (2/2) Mar 05 2019 So I find out the issue: it was due a struct member of the class
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];
Mar 05 2019
So I find out the issue: it was due a struct member of the class having disable this();
Mar 05 2019