[swift-evolution] [Review] SE-0030 Property Behaviors

Joe Groff jgroff at apple.com
Fri Feb 19 12:36:32 CST 2016


> On Feb 18, 2016, at 10:09 PM, Thorsten Seitz <tseitz42 at icloud.com> wrote:
> 
> This might be an editing problem with th examples. In the Proposed Solution the syntax is
> 
> public var behavior lazy<Value> = initialValue { ... }
> 
> which makes sense to me (though it is missing the type declaration (: Value) here.

That was a botched update on my part; I did intend to move the initialValue requirement declaration into the body:

public var behavior lazy<Value>:Value { initialValue; ... }

-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160219/997630a6/attachment.html>


More information about the swift-evolution mailing list