Skip to content

False positive in Lint/FormatParameterMismatch for argument with splat operator #2232

@jonas054

Description

@jonas054

Extracted from #2123. Reported by @dreyks.

What about the opposite situation?

v = [1, 2]
format('%d%d', *v)
W: Number arguments (1) to format mismatches expected fields (2).

this should probably be ignored too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy