Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
517314ec
Commit
517314ec
authored
Nov 10, 2008
by
Thomas Schilling
Browse files
Fix documentation (to say the opposite).
parent
1e0a63ee
Changes
1
Show whitespace changes
Inline
Side-by-side
compiler/basicTypes/SrcLoc.lhs
View file @
517314ec
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment