Skip to content

docs(LC0086): list contexts that are not reported - #249

Open
Arthurvdv wants to merge 3 commits into
mainfrom
docs/lc0086-not-reported
Open

Arthurvdv wants to merge 3 commits into
mainfrom
docs/lc0086-not-reported

Conversation

@Arthurvdv

@Arthurvdv Arthurvdv commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Summary

This updates the LC0086 page to the rule's new deny-list. The same fixed set of contexts now applies to every PageStyle value, so you can tell from the code alone whether a literal is reported.

Not reported:

  • Method and attribute arguments.
  • Comparison operands and in [...] elements. This includes parenthesized operands and the ? : branches inside a comparison operand.
  • Case labels.
  • All property values.
  • Unlocked labels and report labels.
  • Multilanguage text: TextConst and the legacy label(Name; ENU = ...) form.
  • Table field writes.

Still reported:

  • Assignments to other variables.
  • exit('...').
  • The text of locked labels and report labels.

Companion to ALCops/Analyzers#697.

🤖 Generated with Claude Code

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant