Re: source/protocols.d(40, 34): Error: uninitialized variable 'value' cannot be returned from CTFE

2016-05-16 Thread Stefan via Digitalmars-d-learn
On Monday, 16 May 2016 at 11:13:52 UTC, ag0aep6g wrote: On 05/16/2016 11:24 AM, Stefan wrote: source/protocols.d(40,34): Error: uninitialized variable 'value' cannot be returned from CTFE Ouch. That's not a good error message. There is no `value` on that line. I've filed an issue:

Re: source/protocols.d(40, 34): Error: uninitialized variable 'value' cannot be returned from CTFE

2016-05-16 Thread ag0aep6g via Digitalmars-d-learn
On 05/16/2016 11:24 AM, Stefan wrote: source/protocols.d(40,34): Error: uninitialized variable 'value' cannot be returned from CTFE Ouch. That's not a good error message. There is no `value` on that line. I've filed an issue: https://issues.dlang.org/show_bug.cgi?id=16030 this ist the code