Fix: use source information for class actually extracted in case of K<->J substitution

This commit is contained in:
Chris Smowton
2021-11-16 17:47:37 +00:00
committed by Ian Lynagh
parent bde4534050
commit f06285e9c7

View File

@@ -371,7 +371,7 @@ open class KotlinUsesExtractor(
// If this is a generic type instantiation then it has no
// source entity, so we need to extract it here
if (typeArgs.isNotEmpty()) {
this.withSourceFileOfClass(c, false).extractClassInstance(extractClass, typeArgs)
this.withSourceFileOfClass(extractClass, false).extractClassInstance(extractClass, typeArgs)
}
// Extract both the Kotlin and equivalent Java classes, so that we have database entries