Remove the same callable constraint

This commit is contained in:
luchua-bc
2022-02-15 12:44:23 +00:00
parent 2b5982fd9d
commit fd533f2ba8
2 changed files with 9 additions and 10 deletions

View File

@@ -50,8 +50,7 @@ private class SetToGetAttributeStep extends AdditionalValueStep {
sma.getMethod() instanceof SetRequestAttributeMethod
) and
gma.getArgument(0).(CompileTimeConstantExpr).getStringValue() =
sma.getArgument(0).(CompileTimeConstantExpr).getStringValue() and
gma.getEnclosingCallable() = sma.getEnclosingCallable()
sma.getArgument(0).(CompileTimeConstantExpr).getStringValue()
|
pred.asExpr() = sma.getArgument(1) and
succ.asExpr() = gma