Skip to content

[swiftpm] Update to latest master #80

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

Merged
merged 1 commit into from
Feb 2, 2019

Conversation

benlangmuir
Copy link
Contributor

  • import Utility -> import SPMUtility
  • AbsolutePath.asString -> path.description or "(path)"

* import Utility -> import SPMUtility
* AbsolutePath.asString -> path.description or "\(path)"
@benlangmuir benlangmuir merged commit 0b368e7 into swiftlang:master Feb 2, 2019
@benlangmuir benlangmuir deleted the update-swiftpm branch February 2, 2019 00:51
@@ -53,10 +53,10 @@ public final class FallbackBuildSystem: BuildSystem {
if let sdkpath = sdkpath {
args += [
"-sdk",
sdkpath.asString,
sdkpath.description,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

description is for producing human readable path, please use pathString where you want to guarantee proper string representation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, will do. I was wondering about this when I did it, and I chose description because that's what the SwiftPM change did. I didn't realize that pathString didn't exist at the time of that change. It all makes more sense now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants