[Dlang-internal] Detect CTFE in AssignExp:semantic

Martin Nowak via Dlang-internal dlang-internal at puremagic.com
Tue Jan 17 04:39:54 PST 2017


On Tuesday, 17 January 2017 at 03:32:41 UTC, Walter Bright wrote:
>
> I just compiled it with:

The problem comes from also doing the lowering for 
initialization, hence the CTFE interpreter has never seen the 
variable value before it is used.
http://forum.dlang.org/post/o5jrti$n0t$1@digitalmars.com



More information about the Dlang-internal mailing list