Skip to content

Commit 3e16607

Browse files
committed
Add TODO comment
1 parent 7be2767 commit 3e16607

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/src/server.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,10 @@ export function findReferences(
13531353
const identifier = getNodeText(document, node);
13541354
const references: Location[] = [];
13551355

1356+
// [TODO]: Exclude false positives, i.e. occurrences
1357+
// of the name that are bound by different lambdas
1358+
// using the same identifier for their parameter
1359+
13561360
// Find all occurrences of this identifier
13571361
walkTree(tree.rootNode, (currentNode) => {
13581362
if (

0 commit comments

Comments
 (0)