Skip to content

Commit

Permalink
Correct KSP parameters matching (#8989)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstepanov authored Mar 22, 2023
1 parent 691c87d commit d649a04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ internal class KotlinAnnotationMetadataBuilder(private val symbolProcessorEnviro
} else {
val parameters = parent.parameters
val parameterIndex =
parameters.indexOf(parameters.find { it.name == element.name })
parameters.indexOf(parameters.find { it.name!!.asString() == element.name!!.asString() })
methodsHierarchy(parent)
.map { if (it == parent) element else it.parameters[parameterIndex] }
.toMutableList()
Expand Down

0 comments on commit d649a04

Please sign in to comment.