Skip to content

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

Description

@MACwayne

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions