We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da8d8e commit c0bb3fcCopy full SHA for c0bb3fc
src/Hint/Comment.hs
@@ -131,10 +131,3 @@ isOneLineRealSpan :: RealSrcSpan -> Bool
131
isOneLineRealSpan span = line1 == line2 where
132
line1 = srcLocLine $ realSrcSpanStart span
133
line2 = srcLocLine $ realSrcSpanEnd span
134
-
135
--- | 'True' if the span is a single point.
136
--- SEE: https://gitlab.haskell.org/ghc/ghc/-/blob/master/compiler/GHC/Types/SrcLoc.hs#L485-488
137
-isPointRealSpan :: RealSrcSpan -> Bool
138
-isPointRealSpan span = isOneLineRealSpan span && col1 == col2 where
139
- col1 = srcLocCol $ realSrcSpanStart span
140
- col2 = srcLocCol $ realSrcSpanEnd span
0 commit comments