You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-swift-version 6 can be passed in a Swift package manager command-line invocation using the -Xswiftc flag:
~ swift build -Xswiftc -swift-version 6
~ swift test -Xswiftc -swift-version 6
which is wrong and leads to a syntax error. The correct invocations are
~ swift build -Xswiftc -swift-version -Xswiftc 6
~ swift test -Xswiftc -swift-version -Xswiftc 6
The text was updated successfully, but these errors were encountered:
In https://www.swift.org/migration/documentation/swift-6-concurrency-migration-guide/swift6mode/ , it says
which is wrong and leads to a syntax error. The correct invocations are
~ swift build -Xswiftc -swift-version -Xswiftc 6
~ swift test -Xswiftc -swift-version -Xswiftc 6
The text was updated successfully, but these errors were encountered: