Skip to content

Commit

Permalink
Fix transform and balanceComments tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alanz committed Apr 7, 2024
1 parent 923bc87 commit a339c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Language/Haskell/GHC/ExactPrint/Transform.hs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ trailingCommentsDeltas r (la@(L l _):las)
-- AZ:TODO: this is identical to commentsDeltas
priorCommentsDeltas :: RealSrcSpan -> [LEpaComment]
-> [(Int, LEpaComment)]
priorCommentsDeltas r cs = go r (reverse $ sortEpaComments cs)
priorCommentsDeltas r cs = go r (sortEpaComments cs)
where
go :: RealSrcSpan -> [LEpaComment] -> [(Int, LEpaComment)]
go _ [] = []
Expand Down

0 comments on commit a339c9f

Please sign in to comment.