mirror of
https://github.com/tweag/ormolu.git
synced 2024-09-11 13:16:13 +03:00
Remove redundant special case of empty list in p_hsmodExports
This commit is contained in:
parent
f01183daee
commit
6545081089
@ -19,10 +19,6 @@ import Ormolu.Printer.Meat.Common
|
||||
import Ormolu.Utils (RelativePos (..), attachRelativePos)
|
||||
|
||||
p_hsmodExports :: [LIE GhcPs] -> R ()
|
||||
p_hsmodExports [] = do
|
||||
txt "("
|
||||
breakpoint'
|
||||
txt ")"
|
||||
p_hsmodExports xs =
|
||||
parens N $ do
|
||||
layout <- getLayout
|
||||
|
Loading…
Reference in New Issue
Block a user