[Lombok] Fix substitution of java types in K2 implementation
^KT-54020 Fixed
This commit is contained in:
committed by
Space Team
parent
8bd3c9d019
commit
da0dd519d0
+1
-1
@@ -215,7 +215,7 @@ private class JavaTypeSubstitutorByMap(val map: Map<JavaClassifier, JavaType>) :
|
||||
var hasNewArguments = false
|
||||
val newArguments = type.typeArguments.map { argument ->
|
||||
if (argument == null) return@map null
|
||||
val newArgument = substituteOrNull(argument)
|
||||
val newArgument = substituteOrSelf(argument)
|
||||
if (newArgument !== argument) {
|
||||
hasNewArguments = true
|
||||
newArgument
|
||||
|
||||
Reference in New Issue
Block a user