[Issue 18199] Error with lambda in struct initializer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 18 00:02:38 UTC 2018


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

--- Comment #3 from John Belmonte <john at neggie.net> ---
I'm trying to locate relevant code in the dmd source code, any pointers would
be appreciated.

The emitted "Deprecation: use { } for an empty statement, not ;" error is
telling.  We can infer that the compiler is incorrectly interpreting the
initializer expression as a statement.

--


More information about the Digitalmars-d-bugs mailing list