Thread overview
[Issue 13051] Cannot use function literal inside struct initializer
Oct 26, 2016
Justin Whear
Oct 10, 2018
Nathan S.
Oct 10, 2018
Jonathan Marler
October 16, 2016
https://issues.dlang.org/show_bug.cgi?id=13051

Ralph Alexander Bariz <ralph.bariz@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ralph.bariz@gmail.com

--- Comment #1 from Ralph Alexander Bariz <ralph.bariz@gmail.com> ---
Confirming this issue using
------------------------------------------
DMD64 D Compiler v2.071.2
Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
------------------------------------------
on Linux x86_64

--
October 26, 2016
https://issues.dlang.org/show_bug.cgi?id=13051

Justin Whear <justin@economicmodeling.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |justin@economicmodeling.com

--
October 10, 2018
https://issues.dlang.org/show_bug.cgi?id=13051

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |n8sh.secondary@hotmail.com
         Resolution|---                         |WORKSFORME

--- Comment #2 from Nathan S. <n8sh.secondary@hotmail.com> ---
Tested the code in the bug report. It compiles fine.

--
October 10, 2018
https://issues.dlang.org/show_bug.cgi?id=13051

Jonathan Marler <johnnymarler@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |FIXED

--- Comment #3 from Jonathan Marler <johnnymarler@gmail.com> ---
Thanks for checking Nathan.  I just tried this as well, works on dmd 2.082, but not 2.079, so something must have come in between those 2 version to fix this.

--