File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1289,8 +1289,7 @@ internal class CgMethodConstructor(val context: CgContext) : CgContextOwner by c
1289
1289
// arguments
1290
1290
for (index in genericExecution.stateBefore.parameters.indices) {
1291
1291
val argumentName = paramNames[executableUnderTest]?.get(index)
1292
- val paramIndex = if (executableUnderTest is MethodId && executableUnderTest.isStatic) index else index + 1
1293
- val paramType = executableUnderTestParameters[paramIndex].parameterizedType
1292
+ val paramType = executableUnderTestParameters[index].parameterizedType
1294
1293
1295
1294
val argumentType = when {
1296
1295
paramType is Class <* > && paramType.isArray -> paramType.id
You can’t perform that action at this time.
0 commit comments