Re: [swift-dev] Emitted SIL does not parse

2017-04-04 Thread Michael Gottesman via swift-dev
I think it is an -Xllvm option. > On Apr 4, 2017, at 7:41 PM, Ben Ng wrote: > > Do you mean like: > > $ swiftc -O moof.sil -o moof -Xfrontend > -assume-parsing-unqualified-ownership-sil > > It seems like the `-assume-parsing-unqualified-ownership-sil` argument isn’t > understood without the -

Re: [swift-dev] [swift-users] Swift linux repl can't import

2017-04-04 Thread Will Stanton via swift-dev
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

Re: [swift-dev] Emitted SIL does not parse

2017-04-04 Thread Ben Ng via swift-dev
Do you mean like: > $ swiftc -O moof.sil -o moof -Xfrontend > -assume-parsing-unqualified-ownership-sil It seems like the `-assume-parsing-unqualified-ownership-sil` argument isn’t understood without the -Xfrontend flag. The above command results in a different error: > Cannot construct Inlin

[swift-dev] Implementation of Existential Collection (AnySequence and co.)

2017-04-04 Thread Pavol Vaskovic via swift-dev
Hello, I’ve been familiarizing myself with the implementation details of the `AnySequence` and related types, because I’ve encountered strange performance behavior when using them. I have a few questions as a result. I might also hold incorrect assumptions about how Swift works, so please be

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #1866

2017-04-04 Thread Ankit Aggarwal via swift-dev
Next build should be green, filed: https://bugs.swift.org/browse/SR-4496 > On 05-Apr-2017, at 1:11 AM, no-re...@swift.org wrote: > > [FAILURE] oss-swift-incremental-RA-linux-ubuntu-14_04 [#1866] > > Build URL: > https://ci.swift.org/job/oss-swift-incr

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - OS X (master) #9209

2017-04-04 Thread Jordan Rose via swift-dev
That was fast. Looks like the AST APIs I was using changed since yesterday. > On Apr 4, 2017, at 10:03, no-re...@swift.org wrote: > > [FAILURE] oss-swift-incremental-RA-osx [#9209] > > Build URL:https://ci.swift.org/job/oss-swift-incremental-RA-osx/9209/ >