Skip to content

Commit 97faeb0

Browse files
author
Sauyon Lee
committed
Fix side of stack that gen method types are used
1 parent 119de6c commit 97faeb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/utils/FlowTestCase.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ class TestCase extends TTestCase {
240240
or
241241
exists(SummaryComponentStack s | s.tail() = stack |
242242
// we currently only know the type if the stack is one level in
243-
if s = input
243+
if stack = baseInput
244244
then result = SupportMethod::genMethodFor(this.getInputType(), s).getCall(this.getInput(s))
245245
else result = SupportMethod::genMethodForContent(s).getCall(this.getInput(s))
246246
)

0 commit comments

Comments
 (0)