mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Fix: use source information for class actually extracted in case of K<->J substitution
This commit is contained in:
committed by
Ian Lynagh
parent
bde4534050
commit
f06285e9c7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user