Skip to content

Commit 1800501

Browse files
committed
haskell-src-exts upgraded to 1.16
1 parent a1552af commit 1800501

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Main.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ pre x i =
166166
(srcSpanStartColumn start)
167167
(srcSpanEndLine end)
168168
(srcSpanEndColumn end))
169-
|Just (IHead (SrcSpanInfo start _) _ _) <- [listToMaybe ds]
170-
,Just (IHead (SrcSpanInfo end _) _ _) <- [listToMaybe (reverse ds)]]
169+
|Just (IRule _ _ _ (IHCon (SrcSpanInfo start _) _)) <- [listToMaybe ds]
170+
,Just (IRule _ _ _ (IHCon (SrcSpanInfo end _) _)) <- [listToMaybe (reverse ds)]]
171171
_ -> []
172172

173173
-- | Generate a span from a HSE SrcSpan.

structured-haskell-mode.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ executable structured-haskell-mode
4242
ghc-options: -O2 -Wall
4343
hs-source-dirs: src
4444
build-depends: base >= 4 && < 5
45-
, haskell-src-exts == 1.15.*
45+
, haskell-src-exts == 1.16.*
4646
, text
4747
, descriptive >= 0.7 && < 0.8

0 commit comments

Comments
 (0)