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

Fix warnings in Xcode 12 [DOES NOT WORK] #2405

Merged
merged 2 commits into from Jun 23, 2020
Merged

Fix warnings in Xcode 12 [DOES NOT WORK] #2405

merged 2 commits into from Jun 23, 2020

Conversation

tanner0101
Copy link
Member

@tanner0101 tanner0101 commented Jun 23, 2020

Future Tanner here: Wrapping the default #file parameter in parentheses prevents it from forwarding to the call site. The parentheses must be added before passing to the methods accepting #filePath.

See #2411


Updates to remove warnings for Xcode 12 (#2405).

@tanner0101 tanner0101 added the enhancement New feature or request label Jun 23, 2020
@tanner0101 tanner0101 added this to Awaiting Review in Vapor 4 via automation Jun 23, 2020
@tanner0101 tanner0101 changed the title Update for Xcode 12 Fix warnings in Xcode 12 Jun 23, 2020
@tanner0101
Copy link
Member Author

Following same approach as apple/swift-log#133

@tanner0101 tanner0101 marked this pull request as ready for review June 23, 2020 18:37
@tanner0101 tanner0101 added the semver-patch Internal changes only label Jun 23, 2020
@tanner0101 tanner0101 merged commit 6146347 into master Jun 23, 2020
Vapor 4 automation moved this from Awaiting Review to Done Jun 23, 2020
@tanner0101 tanner0101 deleted the tn-xcode-12 branch June 23, 2020 18:37
@tanner0101
Copy link
Member Author

These changes are now available in 4.10.1

@tanner0101 tanner0101 changed the title Fix warnings in Xcode 12 Fix warnings in Xcode 12 [DOES NOT WORK] Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request semver-patch Internal changes only
Projects
Vapor 4
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant