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

Parameter 'file' with default argument '#file' passed to parameter 'file', whose default argument is '#filePath' #14

Open
JetForMe opened this issue Sep 12, 2020 · 0 comments

Comments

@JetForMe
Copy link

In Xcode 12b6, this file has warnings:

Tests/AppTests/Helpers/XCTAssertResponseError.swift:5:52: Parameter 'file' with default argument '#file' passed to parameter 'file', whose default argument is '#filePath'
Tests/AppTests/Helpers/XCTAssertResponseError.swift:4:93: Did you mean for parameter 'file' to default to '#filePath'?
Tests/AppTests/Helpers/XCTAssertResponseError.swift:5:52: Add parentheses to silence this warning
Tests/AppTests/Helpers/XCTAssertResponseError.swift:5:52: 'file' declared here
Tests/AppTests/Helpers/XCTAssertResponseError.swift:7:72: Parameter 'file' with default argument '#file' passed to parameter 'file', whose default argument is '#filePath'
Tests/AppTests/Helpers/XCTAssertResponseError.swift:4:93: Did you mean for parameter 'file' to default to '#filePath'?
Tests/AppTests/Helpers/XCTAssertResponseError.swift:7:72: Add parentheses to silence this warning
Tests/AppTests/Helpers/XCTAssertResponseError.swift:7:72: 'file' declared here
Tests/AppTests/Helpers/XCTAssertResponseError.swift:8:65: Parameter 'file' with default argument '#file' passed to parameter 'file', whose default argument is '#filePath'
Tests/AppTests/Helpers/XCTAssertResponseError.swift:4:93: Did you mean for parameter 'file' to default to '#filePath'?
Tests/AppTests/Helpers/XCTAssertResponseError.swift:8:65: Add parentheses to silence this warning
Tests/AppTests/Helpers/XCTAssertResponseError.swift:8:65: 'file' declared here
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

No branches or pull requests

1 participant