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

'internal' modifier is redundant for static method declared in an internal extension #93

Open
MACwayne opened this issue Apr 29, 2020 · 0 comments

Comments

@MACwayne
Copy link

Encoder.swift

internal extension DecodingError {
    internal static func _typeMismatch(at path: [CodingKey], expectation: Any.Type, reality: Any) -> DecodingError { ...

Xcode 11.4 shows warning that the internal isn't required. Not sure what backwards compatibility is required but could be removed for future releasese

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