FIR IDE: add API to get super types of a KtType

This commit is contained in:
Tianyu Geng
2021-10-06 15:49:27 -07:00
committed by Ilya Kirillov
parent 09d16ce849
commit 8b44a4685f
34 changed files with 568 additions and 1 deletions
@@ -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