Skip to content

dune should complain if it find "deadcode" in the env stanza #5886

@hhugo

Description

@hhugo

In the following, <settings> under the name section is "deadcode" because it's always shadowed by the previous _ section.
Dune should warn in this case.

(env
  (_ <settings>)
  (name <settings>))

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions