FIR IDE: add API to get super types of a KtType
This commit is contained in:
committed by
Ilya Kirillov
parent
09d16ce849
commit
8b44a4685f
@@ -392,7 +392,7 @@ fun ConeTypeContext.captureFromArgumentsInternal(type: ConeKotlinType, status: C
|
||||
}
|
||||
}
|
||||
|
||||
private fun ConeTypeContext.captureArguments(type: ConeKotlinType, status: CaptureStatus): Array<ConeKotlinType>? {
|
||||
fun ConeTypeContext.captureArguments(type: ConeKotlinType, status: CaptureStatus): Array<ConeKotlinType>? {
|
||||
val argumentsCount = type.typeArguments.size
|
||||
if (argumentsCount == 0) return null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user