Re: value of 'this' is not know at CT for typeof(this)

2018-01-27 Thread Dechcaudron via Digitalmars-d-learn
On Friday, 26 January 2018 at 20:13:14 UTC, Simen Kjærås wrote: I can't reproduce the problem. Could you give us some more code - preferably a compilable segment that gives the same problem? -- Simen https://github.com/Dechcaudron/dserialize/tree/6c67e44dedf81d9cb8c0d9d80cf4eb85e9abecd0

Re: value of 'this' is not know at CT for typeof(this)

2018-01-26 Thread Simen Kjærås via Digitalmars-d-learn
On Friday, 26 January 2018 at 20:08:19 UTC, Dechcaudron wrote: So I'm trying to get this to compile: ``` static foreach (alias member; getSymbolsByUDA!(typeof(this), Serialize)) serializeMember!member(bundle); ``` And I'm getting the following error: value of 'this' is not