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

Max Samukha <[email protected]> changed:

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

--- Comment #3 from Max Samukha <[email protected]> ---
(In reply to Nick Treleaven from comment #1)
> 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?

The initialization vs assignment distinction is useless, given the requirement
that T.init is a valid value of T.

--

Reply via email to