Skip to content

Commit 3d01a84

Browse files
committed
Add TODO comment
1 parent 00b8ba7 commit 3d01a84

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
@@ -1349,6 +1349,10 @@ export function findReferences(
13491349
const identifier = getNodeText(document, node);
13501350
const references: Location[] = [];
13511351

1352+
// [TODO]: Exclude false positives, i.e. occurrences
1353+
// of the name that are bound by different lambdas
1354+
// using the same identifier for their parameter
1355+
13521356
// Find all occurrences of this identifier
13531357
walkTree(tree.rootNode, (currentNode) => {
13541358
if (

0 commit comments

Comments
 (0)