[Issue 18909] Lambda with default initializer gets called with random values instead

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 27 07:53:53 UTC 2019


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

Hiroki Noda <kubo39 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kubo39 at gmail.com

--- Comment #2 from Hiroki Noda <kubo39 at gmail.com> ---
This should fail to compile, and in this case you can use `lazy int b = q` and
will work.

--


More information about the Digitalmars-d-bugs mailing list