FIR Java: don't add type parameter bounds multiple times
This commit is contained in:
@@ -146,7 +146,9 @@ class JavaSymbolProvider(
|
||||
.map { it.toFirTypeParameter(stack) }
|
||||
.also {
|
||||
it.forEachIndexed { index, typeParameter ->
|
||||
typeParameter.addBounds(this[index], stack)
|
||||
if (typeParameter.bounds.isEmpty()) {
|
||||
typeParameter.addBounds(this[index], stack)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user