Skip to content

Commit 9d66761

Browse files
author
Sauyon Lee
committed
Consider a callable to ambiguous if it has a varargs parameter
1 parent 0d174f2 commit 9d66761

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/ql/src/utils/FlowTestCaseUtils.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ predicate mayBeAmbiguous(Callable c) {
7070
other.getNumberOfParameters() = c.getNumberOfParameters() and
7171
other != c
7272
)
73+
or
74+
c.isVarargs()
7375
}
7476

7577
/**

0 commit comments

Comments
 (0)