Skip to content

Commit

Permalink
Remove redundant special case of empty list in p_hsmodExports
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonchinn178 authored and mrkkrp committed Apr 25, 2023
1 parent f01183d commit 6545081
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Ormolu/Printer/Meat/ImportExport.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6545081

Please sign in to comment.