[FE] Convert ClassId.java to Kotlin

This commit is contained in:
Dmitriy Novozhilov
2023-09-19 12:37:41 +03:00
committed by Space Team
parent a3bcac00e4
commit a43cb721ba
10 changed files with 103 additions and 149 deletions
@@ -54,7 +54,7 @@ fun ModuleDescriptor.findNonGenericClassAcrossDependencies(classId: ClassId, not
if (existingClass != null) return existingClass
// Take a list of N zeros, where N is the number of class names in the given ClassId
val typeParametersCount = generateSequence(classId, ClassId::getOuterClassId).map { 0 }.toList()
val typeParametersCount = generateSequence(classId, ClassId::outerClassId).map { 0 }.toList()
return notFoundClasses.getClass(classId, typeParametersCount)
}