mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-06 18:24:36 +01:00
Fix two bugs in call hierarchy:
1. In the following, we used to show `myVar` as the caller of `foo`. That was a dead end and didn’t allow any further exploration
```swift
func foo() {}
func testFunc(x: String) {
let myVar = foo()
}
```
2. Handle variables and their accessors in call hierarchy
rdar://123526105