Rename tpe to kaType (cherry picked from commit de988ae23de734038f446abc21ff53b21e13c4b8)
diff --git a/kotlin-analysis-api/src/main/kotlin/com/google/devtools/ksp/impl/symbol/java/KSAnnotationJavaImpl.kt b/kotlin-analysis-api/src/main/kotlin/com/google/devtools/ksp/impl/symbol/java/KSAnnotationJavaImpl.kt index 1ae3612..ffa7918 100644 --- a/kotlin-analysis-api/src/main/kotlin/com/google/devtools/ksp/impl/symbol/java/KSAnnotationJavaImpl.kt +++ b/kotlin-analysis-api/src/main/kotlin/com/google/devtools/ksp/impl/symbol/java/KSAnnotationJavaImpl.kt
@@ -216,9 +216,9 @@ else -> { ResolverAAImpl.instance .getClassDeclarationByName(component.canonicalText)?.asStarProjectedType() - ?.also { type -> - type.toKaType()?.let { tpe -> - recordClassReferenceLookup(tpe, parent) + ?.also { ksType -> + ksType.toKaType()?.let { kaType -> + recordClassReferenceLookup(kaType, parent) } } ?: KSErrorType(component.canonicalText) @@ -233,9 +233,9 @@ is PsiType -> { ResolverAAImpl.instance .getClassDeclarationByName(result.canonicalText)?.asStarProjectedType() - ?.also { type -> - type.toKaType()?.let { tpe -> - recordClassReferenceLookup(tpe, parent) + ?.also { ksType -> + ksType.toKaType()?.let { kaType -> + recordClassReferenceLookup(kaType, parent) } } ?: KSErrorType(result.canonicalText)