You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add root_location to the incoming calls hierarchy responses
```go
package main
func f() (int) {
return 5;
}
func g() (int) {
return f() + f();
}
func h() (int) {
var x = g();
return f() + x;
}
```
With incoming calls request on `g()`, the response should be something
like this
```python
{
'locations': [ location_of_call_to_g_inside_h ],
'root_location': location_of_h_function_name
}
```
This allows clients to:
1. Jump to the actual call site, using `locations` list.
2. Switch to outgoing calls, by preparing a new hierarchy, using
`root_location` object.
0 commit comments