Skip to content

Commit 65a2008

Browse files
Update python/ql/src/Functions/SignatureOverriddenMethod.ql
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 43aff2c commit 65a2008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/Functions/SignatureOverriddenMethod.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Call chooseASignatureMismatchWitness(Function base, Function sub) {
202202
c = getASignatureMismatchWitness(base, sub) and
203203
c.getLocation().getFile() = base.getLocation().getFile()
204204
) and
205-
result = chooseASignatureMismatchWitnessInFile(base, sub, base.getLocation().getFile())
205+
result = chooseASignatureMismatchWitnessInFile(base, sub, sub.getLocation().getFile())
206206
or
207207
not exists(Call c |
208208
c = getASignatureMismatchWitness(base, sub) and

0 commit comments

Comments
 (0)