Closed brandonchinn178 closed 1 year ago
Hmm, thanks for the report, but I don't think this is related to Ormolu; rather, common stanzas were introduced in cabal-version: 2.2
, but as you don't specify a cabal-version
, the common stanza is (silently?) ignored. When I add
cabal-version: 2.2
to the top of your .cabal
file, Ormolu formats the module as one would expect (i.e. it stays as it is).
Does that make sense?
Ah you're right, sorry about the false positive.
Describe the bug The issue in #1032 still occurs if the
base
dependency is imported from a common stanzaTo Reproduce
Ormolu returns
Expected behavior The snippet should not reformat.
Environment
Additional context Add any other context about the problem here.