mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Kotlin: Fix isUnspecialised to handle generic classes inside generic methods
This commit is contained in:
@@ -1450,7 +1450,7 @@ open class KotlinFileExtractor(
|
||||
extractNewExprForLocalFunction(ids, id, locId, enclosingCallable, enclosingStmt)
|
||||
} else {
|
||||
val methodId =
|
||||
if (extractClassTypeArguments && drType is IrSimpleType && !isUnspecialised(drType)) {
|
||||
if (extractClassTypeArguments && drType is IrSimpleType && !isUnspecialised(drType, logger)) {
|
||||
|
||||
val extractionMethod = if (isFunctionInvoke) {
|
||||
// For `kotlin.FunctionX` and `kotlin.reflect.KFunctionX` interfaces, we're making sure that we
|
||||
|
||||
Reference in New Issue
Block a user