|1141–1148 ↗||(On Diff #180167)|
We should explain that these two functions are radically different. Namely, in getCaller() the location context argument is the callee context (from which the call site can be derived), while in getCall() it is the caller context (from which the call site cannot be derived). We should probably reflect this in function names as well, because getCaller() is already a pretty uninformative name.
Still, it should be possible to re-use getCall() in getCaller().