Commit 517314ec authored by Thomas Schilling's avatar Thomas Schilling
Browse files

Fix documentation (to say the opposite).

parent 1e0a63ee
...@@ -296,7 +296,7 @@ isGoodSrcSpan SrcSpanPoint{} = True ...@@ -296,7 +296,7 @@ isGoodSrcSpan SrcSpanPoint{} = True
isGoodSrcSpan _ = False isGoodSrcSpan _ = False
isOneLineSpan :: SrcSpan -> Bool isOneLineSpan :: SrcSpan -> Bool
-- ^ True if the span is known to straddle more than one line. -- ^ True if the span is known to straddle only one line.
-- For "bad" 'SrcSpan', it returns False -- For "bad" 'SrcSpan', it returns False
isOneLineSpan s isOneLineSpan s
| isGoodSrcSpan s = srcSpanStartLine s == srcSpanEndLine s | isGoodSrcSpan s = srcSpanStartLine s == srcSpanEndLine s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment