Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Feb 13, 2024
1 parent a4402f1 commit 5e021f6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -503,19 +503,19 @@ final class ReferenceProvider(
)
else Seq.empty

val sourceContainsDefinition =
occ.role.isDefinition || snapshot.symbols.exists(
_.symbol == occ.symbol
)
val workspaceRefs =
workspaceReferences(
source,
isSymbol,
isIncludeDeclaration,
findRealRange,
includeSynthetics,
sourceContainsDefinition,
)
val sourceContainsDefinition =
occ.role.isDefinition || snapshot.symbols.exists(
_.symbol == occ.symbol
)
val workspaceRefs =
workspaceReferences(
source,
isSymbol,
isIncludeDeclaration,
findRealRange,
includeSynthetics,
sourceContainsDefinition,
)
Future.successful(local ++ workspaceRefs)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class PcReferencesProvider(
)
)
}
compiler.unitOfFile.remove(unit.source.file)
compiler.unitOfFile.remove(collector.unit.source.file)
result
}

Expand Down

0 comments on commit 5e021f6

Please sign in to comment.