File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments