Skip to content

Commit 4001aa3

Browse files
committed
Added comment for isInternal function.
1 parent 9e86954 commit 4001aa3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ghcide/src/Development/IDE/Spans/AtPoint.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ atPoint IdeOptions{} (HAR _ hf _ _ kind) (DKMap dm km) env pos = listToMaybe $ p
227227
wrapHaskell x = "\n```haskell\n"<>x<>"\n```\n"
228228
info = nodeInfoH kind ast
229229
names = M.assocs $ nodeIdentifiers info
230+
-- Check if a name matches a pattern for a generated Core variable.
230231
isInternal :: (Identifier, IdentifierDetails a) -> Bool
231232
isInternal (Right n, _) =
232233
let name = printOutputable n

0 commit comments

Comments
 (0)