1
1
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:
Brandon Chinn 2022-11-01 19:46:57 -07:00 committed by Mark Karpov
parent f01183daee
commit 6545081089

View File

@ -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