Skip to content

Remove false positives for NoUnused.CustomTypeConstructorArgs

Compare
Choose a tag to compare
@jfmengels jfmengels released this 26 Mar 20:07
· 663 commits to master since this release

A fix for #25: Remove false positives for NoUnused.CustomTypeConstructorArgs

The rule now won't report the args of a custom type constructor that is found in a comparison:

-- Not reported
value == Foo 1
-- Still reported
value == fn (Foo 1)

Thanks @lydell for the suggestion 🙂