From 517314ecb1a2e0a0578b50b7410e1b3e793f562d Mon Sep 17 00:00:00 2001 From: Thomas Schilling Date: Mon, 10 Nov 2008 15:38:19 +0000 Subject: [PATCH] Fix documentation (to say the opposite). --- compiler/basicTypes/SrcLoc.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/basicTypes/SrcLoc.lhs b/compiler/basicTypes/SrcLoc.lhs index dbff295..85b9b2e 100644 --- a/compiler/basicTypes/SrcLoc.lhs +++ b/compiler/basicTypes/SrcLoc.lhs @@ -296,7 +296,7 @@ isGoodSrcSpan SrcSpanPoint{} = True isGoodSrcSpan _ = False 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 isOneLineSpan s | isGoodSrcSpan s = srcSpanStartLine s == srcSpanEndLine s -- 1.7.10.4