Re: [swift-users] typealias for Generic in Generic

2017-04-04 Thread Adrian Zubarev via swift-users
R is a non generic type, because the generic part is set to T, that’s why R() works. Otherwise you could create typealias Q = Сarriage and use it like this Q() --  Adrian Zubarev Sent with Airmail Am 4. April 2017 um 19:25:45, Седых Александр via swift-users (swift-users@swift.org)

[swift-users] typealias for Generic in Generic

2017-04-04 Thread Седых Александр via swift-users
Hello. I stumbled on ambiguous behaviour of compiler. Is not allowed explicitly indicate type in Generic typealias. struct Сarriage {     let g = [ T ]() }   struct Coma {     typealias R = Сarriage < T >     let m = R ()     let d = R < String >() \\  error: cannot specialize

[swift-users] Swift Build issue

2017-04-04 Thread zaid kazi via swift-users
Hi, Im curently trying to use swift package manager to install the library Stencil the project builds fine in xcode and i can run it. Although when trying to install Stencial via package manager it complains that some of the existing sources I have cannot find the module libxml2 although they are