Home
last modified time | relevance | path

Searched refs:rhsSpans (Results 1 – 2 of 2) sorted by relevance

/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/hlint-3.2.7/src/Hint/
H A DSmell.hs142 rhsSpans ctx locGrhs ++ whereSpans where_
148 rhsSpans :: HsMatchContext RdrName -> LGRHS GhcPs (LHsExpr GhcPs) -> [(SrcSpan, Idea)]
149 rhsSpans _ (L _ (GRHS _ _ (L _ RecordCon {}))) = [] -- record constructors get a pass function
150 rhsSpans ctx (L _ r@(GRHS _ _ (L l _))) = function
152 rhsSpans _ _ = [] function
/dports/devel/hs-hlint/hlint-3.3.4/src/Hint/
H A DSmell.hs141 rhsSpans ctx locGrhs ++ whereSpans where_
147 rhsSpans :: HsMatchContext GhcPs -> LGRHS GhcPs (LHsExpr GhcPs) -> [(SrcSpan, Idea)]
148 rhsSpans _ (L _ (GRHS _ _ (L _ RecordCon {}))) = [] -- record constructors get a pass function
149 rhsSpans ctx (L _ r@(GRHS _ _ (L l _))) = function