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

Nick Treleaven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Nick Treleaven <[email protected]> ---
Assignment is not initialization. A static variable is only initialised once.
What is your use case? In the example b's previous value is discarded every
time v is called, so why is b static?

--

Reply via email to