[swift-users] Swift Package Manager and Git submodules

2016-10-28 Thread Anton Bronnikov via swift-users
Hi, I have a question whether what I observe is by-design, a bug, or not yet fully implemented feature in Swift Package Manager. - Let’s say, I have a C repository with some library, and it has two versions tagged, namely 0.0.1 and 0.0.2. - Then I have a Swift repository that includes the above

Re: [swift-users] Swift Package Manager and Git submodules

2016-10-29 Thread Anton Bronnikov via swift-users
> >> On Oct 28, 2016, at 1:53 PM, Anton Bronnikov via swift-users >> wrote: >> >> Hi, >> >> I have a question whether what I observe is by-design, a bug, or not yet >> fully implemented feature in Swift Package Manager. >> >> - Let’s say, I

[swift-users] Conforming to the protocol requirements with implicitly unwrapped optional

2017-05-28 Thread Anton Bronnikov via swift-users
Hi All, If I have a protocol with a property requirement such as: protocol Foo { var value: Int { get } } .. and I need to conform to it using an implicitly unwrapped optional like: struct Bar : Foo { let value: Int! = nil } .. then the compiler fails with an error: Playground executi

Re: [swift-users] Conforming to the protocol requirements with implicitly unwrapped optional

2017-05-29 Thread Anton Bronnikov via swift-users
the protocol, which > requires the `value` never nil. > > Zhaoxin > > On Mon, May 29, 2017 at 12:37 PM, Anton Bronnikov via swift-users > mailto:swift-users@swift.org>> wrote: > Hi All, > > If I have a protocol with a property requirement such as: > > protoco