Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add partial Windows support #779

Merged
merged 15 commits into from
Jun 14, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tests: add another version marker for Swift 5.9 (next?)
SourceKit introduced the new attribute `reusingastcontext` on a cursor
lookup.  Add the ability to accommodate that by suffixing another
version.
  • Loading branch information
compnerd authored and jpsim committed Jun 14, 2023
commit a40695ddfe09d08a21a5792bd3afb9d6afe06b37
4 changes: 3 additions & 1 deletion Tests/SourceKittenFrameworkTests/SwiftDocsTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ private func compareDocs(withFixtureNamed name: String, file: StaticString = #fi
}

private func versionedExpectedFilename(for name: String) -> String {
#if compiler(>=5.6)
#if compiler(>=5.9)
let versions = ["swift-5.9", "swift-5.6", "swift-5.5.2", "swift-5.5", "swift-5.4", "swift-5.3.1", "swift-5.3", "swift-5.2", "swift-5.1", "swift-5.0"]
#elseif compiler(>=5.6)
let versions = ["swift-5.6", "swift-5.5.2", "swift-5.5", "swift-5.4", "swift-5.3.1", "swift-5.3", "swift-5.2", "swift-5.1", "swift-5.0"]
#elseif compiler(>=5.5.2)
let versions = ["swift-5.5.2", "swift-5.5", "swift-5.4", "swift-5.3.1", "swift-5.3", "swift-5.2", "swift-5.1", "swift-5.0"]
Expand Down