mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Fix side of stack that gen method types are used
This commit is contained in:
@@ -240,7 +240,7 @@ class TestCase extends TTestCase {
|
||||
or
|
||||
exists(SummaryComponentStack s | s.tail() = stack |
|
||||
// we currently only know the type if the stack is one level in
|
||||
if s = input
|
||||
if stack = baseInput
|
||||
then result = SupportMethod::genMethodFor(this.getInputType(), s).getCall(this.getInput(s))
|
||||
else result = SupportMethod::genMethodForContent(s).getCall(this.getInput(s))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user