Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago Weight committed Oct 25, 2022
1 parent 881c7eb commit d5534b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Test/Transform.hs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ prependDecl ldecl = \case
(L (SrcSpanAnn (EpAnn _ _ (EpaComments _)) _) _) ->
error "Unexpected unbalanced comments"
(L (SrcSpanAnn (EpAnn d1Anc d1Ann (EpaCommentsBalanced (L (Anchor c1Rss cAnc) c1:restCs) d1AfterCs)) ss) d1) ->
-- NOTE cannot use setEntryDP to simply assign `DL 1 0` here because when there is a prior comment, the
-- NOTE cannot use setEntryDP to simply assign `DL 1 0` here because when there is no prior decl, the
-- DeltaPos on the declaration is absolute instead of relative, and so we must manually update the
-- DeltaPos to be relative (since there is about to be a prior declaration).
let ld1' = L
Expand Down

0 comments on commit d5534b3

Please sign in to comment.