Java: automodel: use the call for call context, rather than the argument

This commit is contained in:
Stephan Brandauer
2023-08-14 09:54:44 +02:00
parent 4107758c8a
commit 1a95a34441
4 changed files with 8 additions and 8 deletions

View File

@@ -185,7 +185,7 @@ module ApplicationCandidatesImpl implements SharedCharacteristics::CandidateSig
*/
RelatedLocation getRelatedLocation(Endpoint e, RelatedLocationType type) {
type = CallContext() and
result = e.asTop()
result = e.getCall()
}
}