typelevel / typelevel/sbt-typelevel

-Wunused:nowarn compiler option

Open
#823 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
185
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Scala 3.7 flags more unused implicit and explicit values as warnings. In some cases, this is intended on our part and we will need to annotate them with the @nowarn annotation. It would be nice to know if we are using the annotation where it is not needed.

If it is decided that it should be added I can submit a PR with it. I think it would go with the scala 3.3+ compiler options.

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 with the Scala 3.3+ compiler options mentioned in the issue and check how the -Wunused:nowarn option behaves with the project's intended @nowarn annotations. Confirm with the maintainers whether the option should be added; done means the compiler configuration reflects that decision and the relevant checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.