[Issue 17899] Cannot initialise contextless delegate at compile time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 12 04:50:36 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=17899

--- Comment #3 from Nicholas Wilson <iamthewilsonator at hotmail.com> ---
(In reply to RazvanN from comment #1)
> Running the example on git HEAD issues : "Error: non-constant nested
> delegate literal expression __lambda3" which is pretty cryptic.

Hmm, it seems this behaviour was added to fix issue 13259, but that should be
legal, i.e. not an error.

--


More information about the Digitalmars-d-bugs mailing list