We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21db05f commit fb77613Copy full SHA for fb77613
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/tree/ConstructorUtils.kt
@@ -342,8 +342,9 @@ internal fun ClassId.getAmbiguousOverloadsOf(executableId: ExecutableId): Sequen
342
is ConstructorId -> allConstructors
343
}
344
345
+ // We should take here not only declared methods but also inherited
346
return allExecutables.filter {
- it.name == executableId.name && it.parameters.size == executableId.executable.parameters.size && it.classId == executableId.classId
347
+ it.name == executableId.name && it.parameters.size == executableId.executable.parameters.size
348
349
350
0 commit comments