Skip to content

Commit 1f642b3

Browse files
committed
Added comment for isInternal function.
1 parent b78cd3f commit 1f642b3

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
@@ -225,6 +225,7 @@ atPoint IdeOptions{} (HAR _ hf _ _ kind) (DKMap dm km) env pos = listToMaybe $ p
225225
wrapHaskell x = "\n```haskell\n"<>x<>"\n```\n"
226226
info = nodeInfoH kind ast
227227
names = M.assocs $ nodeIdentifiers info
228+
-- Check if a name matches a pattern for a generated Core variable.
228229
isInternal :: (Identifier, IdentifierDetails a) -> Bool
229230
isInternal (Right n, _) =
230231
let name = printOutputable n

0 commit comments

Comments
 (0)