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)
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
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