Skip to content

duplicate_argument_linter() thrown off by a well-placed comment within the call #2402

Closed
@MichaelChirico

Description

@MichaelChirico

Found working on #2393; fix to be included there.

lint("
foo(
  a # comment
  = 1,
  a = 2
)
", duplicate_argument_linter())
# <should throw, doesn't>

Metadata

Metadata

Assignees

No one assigned

    Labels

    false-negativecode that should lint, but doesn't

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions