Fixed KT-7308 Exception on completion inside anonymous object
#KT-7308 Fixed
This commit is contained in:
+3
-2
@@ -73,8 +73,9 @@ public object HeuristicSignatures {
|
||||
}
|
||||
else {
|
||||
val ownerClass = ownerType.getConstructor().getDeclarationDescriptor() ?: return null
|
||||
val classFqName = DescriptorUtils.getFqNameSafe(ownerClass)
|
||||
val parameterTypes = signatures[classFqName to function.getName()] ?: return null
|
||||
val classFqName = DescriptorUtils.getFqName(ownerClass)
|
||||
if (!classFqName.isSafe()) return null
|
||||
val parameterTypes = signatures[classFqName.toSafe() to function.getName()] ?: return null
|
||||
val typeStr = parameterTypes[parameterIndex]
|
||||
val typeParameters = ownerClass.getTypeConstructor().getParameters()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user