From https://bugs.swift.org/browse/SR-3648, the work-around seems to be passing
-I /path/to/extracted/usr/lib/swift/clang/include when invoking swift (credit
Lukas and others, SR-3794 is more active)
So, ex. `swift -I ~/a-swift/usr/lib/swift/clang/include/`
Fortunately, the issue has only come u
The installation instructions for Swift on Linux imply that the tarball can be
extracted anywhere, and the PATH set, and all should be well. But
unfortunately, while that's partly true, when I try to import packages, it
fails (Ubuntu 16.04 on Parallels on macOS 10.12.3):
$ swift
Welcome to Swif
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) schrieb:
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 non-generic
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 l