mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Add explanatory comment
This commit is contained in:
committed by
Ian Lynagh
parent
e16a135a09
commit
33a9b4fb16
@@ -91,6 +91,7 @@ open class KotlinUsesExtractor(
|
||||
return KotlinSourceFileExtractor(newLogger, newTrapWriter, clsFile, externalClassExtractor, primitiveTypeMapping, pluginContext, genericSpecialisationsExtracted)
|
||||
}
|
||||
|
||||
// The Kotlin compiler internal representation of Outer<T>.Inner<S>.InnerInner<R> is InnerInner<R, S, T>. This function returns just `R`.
|
||||
fun removeOuterClassTypeArgs(c: IrClass, argsIncludingOuterClasses: List<IrTypeArgument>?): List<IrTypeArgument>? {
|
||||
return argsIncludingOuterClasses?.let {
|
||||
if (it.size > c.typeParameters.size)
|
||||
|
||||
Reference in New Issue
Block a user