-
Notifications
You must be signed in to change notification settings - Fork 110
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 some DocC warnings. #188
Conversation
@@ -14,5 +14,4 @@ | |||
### Partial case paths | |||
|
|||
- ``PartialCaseKeyPath`` | |||
- ``Swift/PartialKeyPath/callAsFunction(_:)`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this actually exists. Is this old?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it moved to _AppendKeyPath
to properly work. Maybe doesn't need to be documented though.
@@ -227,7 +227,7 @@ public func XCTUnwrap<Enum, Case>( | |||
Actual: | |||
\(String(describing: `enum`)) | |||
""", | |||
file: file, | |||
file: (file), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we want to silence this warning right?
⚠️ Parameter 'file' with default argument '#file' passed to parameter 'file', whose default argument is '#filePath'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the way to silence this is to stop using #file
since its behavior changes in Swift 6 language mode and instead use #filePath
explicitly.
Just trying to clean up some warnings that have accumulated.