typetools / typetools/checker-framework

Purity checks are performed multiple times

Open
#2,582 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
440
Avg merge
1d 12h
Merged PRs (30d)
134

Description

When a user supplies -AcheckPurityAnnotations and multiple checkers, purity warnings are issued multiple times, because the purity checker is run multiple times. The purity checker should be run just once, no matter how many checkers are given on the command line.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with -AcheckPurityAnnotations and multiple checkers, then trace where the purity checker is invoked for each command-line checker. Done means the purity checker runs once and duplicate purity warnings no longer appear, regardless of how many checkers are supplied.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.