We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c78d7a1 commit 4c45c87Copy full SHA for 4c45c87
ghcide/src/Development/IDE/Spans/AtPoint.hs
@@ -186,7 +186,7 @@ documentHighlight hf rf pos = pure highlights
186
else HkRead
187
188
isBadSpan :: Name -> RealSrcSpan -> Bool
189
- isBadSpan n sp = srcSpanStartLine sp /= srcSpanEndLine sp || (srcSpanEndCol sp - srcSpanStartCol sp > lengthFS (occNameFS $ nameOccName n))
+ isBadSpan n sp = srcSpanStartLine sp /= srcSpanEndLine sp || (srcSpanEndCol sp - srcSpanStartCol sp > Util.lengthFS (occNameFS $ nameOccName n))
190
191
gotoTypeDefinition
192
:: MonadIO m
0 commit comments