Files
sourcekit-lsp/Sources/SourceKitLSP
Alex Hoppen ff2b27acd0 Only report a single item in prepareCallHierarchy
Returning multiple doesn't make sense because they will all have the same USR (because we query them by USR) and will thus expand to the exact same call hierarchy.

Also, VS Code doesn't seem to like multiple call hiearchy items being returned and fails to display any results if they are, failing with `Cannot read properties of undefined (reading 'map')`.

rdar://118957893
2024-02-22 20:42:05 -08:00
..