[swift-evolution] [Discussion] Difference between static and lazy variables regarding evaluation of closure

Vladimir.S svabox at gmail.com
Tue May 31 08:57:22 CDT 2016

David, I personally see all 3 of your copies of proposal in list ;-)
+1 from me for this proposal. It removes inconsistency and removes 
unexpected behavior. Known that static stored property is lazy(I'd like to 
require `lazy` keyword for static stored properties to highlight that 
fact), I believe no one really expects that it will be evaluated on 
assignment. Current behavior looks like a bug for me.

On 31.05.2016 16:32, David Rönnqvist wrote:
> With the risk of this showing up 3 times in the mailing list (I posted it
> as a new topic, but it didn't seem to show up).

More information about the swift-evolution mailing list