-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #750 from adam-fowler/af-swiftinterface-symbol-loo…
…kup-5.9 Swiftinterface symbol lookup (release/5.9)
- Loading branch information
Showing
8 changed files
with
248 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
Sources/SKTestSupport/INPUTS/SystemSwiftInterface/Package.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// swift-tools-version:5.1 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "SystemSwiftInterface", | ||
platforms: [.macOS(.v10_15)], | ||
products: [], | ||
dependencies: [], | ||
targets: [ | ||
.target( | ||
name: "lib", | ||
dependencies: []), | ||
/*Package.swift:targets*/ | ||
] | ||
) |
10 changes: 10 additions & 0 deletions
10
Sources/SKTestSupport/INPUTS/SystemSwiftInterface/Sources/lib/lib.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
public func libFunc() async { | ||
let a: /*lib.string*/String = "test" | ||
let i: /*lib.integer*/Int = 2 | ||
await /*lib.withTaskGroup*/withTaskGroup(of: Void.self) { group in | ||
group.addTask { | ||
print(a) | ||
print(i) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.