Skip to content

Follow hlint suggestion: redundant bracket#11918

Open
philderbeast wants to merge 12 commits into
haskell:masterfrom
cabalism:hlint/redundant-bracket
Open

Follow hlint suggestion: redundant bracket#11918
philderbeast wants to merge 12 commits into
haskell:masterfrom
cabalism:hlint/redundant-bracket

Conversation

@philderbeast
Copy link
Copy Markdown
Collaborator

@philderbeast philderbeast commented May 31, 2026

See #9110. Discharges and no longer ignores HLint's "redundant bracket" suggestion so that this will be suggested by our CI linting.

I'll squash commits before applying the merge label if this pull request is approved.


  • Patches conform to the coding conventions.
  • Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions).

Comment thread cabal-install-solver/src/Distribution/Solver/Modular/Message.hs
Comment thread cabal-install-solver/src/Distribution/Solver/Types/PackageConstraint.hs Outdated
Comment thread cabal-install/src/Distribution/Client/Tar.hs Outdated
Comment on lines -149 to +159
( [ optionNumJobs
buildNumJobs
(\v flags -> flags{buildNumJobs = v})
, option
[]
["semaphore"]
"Use the specified semaphore so GHC can compile components in parallel"
buildUseSemaphore
(\v flags -> flags{buildUseSemaphore = v})
(reqArg' "SEMAPHORE" Flag flagToList)
]
)
[ optionNumJobs
buildNumJobs
(\v flags -> flags{buildNumJobs = v})
, option
[]
["semaphore"]
"Use the specified semaphore so GHC can compile components in parallel"
buildUseSemaphore
(\v flags -> flags{buildUseSemaphore = v})
(reqArg' "SEMAPHORE" Flag flagToList)
]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This cannot be correct right? It is a function argument, it should be tabbed right?

let name = prettyShow $ mungedName x
in name == "Cabal" || name == "base"
)
(componentPackageDeps clbi)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

tab me maybe ♫

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.

3 participants