Skip to content

Clean up Settings - #27005

Draft
SolalPirelli wants to merge 10 commits into
scala:mainfrom
dotty-staging:solal/clean-settings
Draft

SolalPirelli wants to merge 10 commits into
scala:mainfrom
dotty-staging:solal/clean-settings

Conversation

@SolalPirelli

Copy link
Copy Markdown
Contributor

Delete dead code, make stuff private where possible

Have you relied on LLM-based tools in this contribution?

No

How was the solution tested?

Covered by existing tests (this is a refactoring)

s.name.startsWith("-Y") && s.name != "-Y"
protected def isHelping(s: Setting[?])(using settings: ConcreteSettings)(using SettingsState): Boolean =
cond(s.value) {
case ss: List[?] if s.isMultivalue => ss.contains("help")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant

Comment thread compiler/src/dotty/tools/dotc/config/Settings.scala
@SolalPirelli
SolalPirelli force-pushed the solal/clean-settings branch 2 times, most recently from e868f50 to 2034fab Compare September 11, 2026 08:35
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