Cleanup FirPCLAInferenceSession
This commit is contained in:
committed by
Space Team
parent
9743a5b334
commit
e54ed9d470
+5
-4
@@ -282,10 +282,11 @@ class FirPCLAInferenceSession(
|
||||
}
|
||||
|
||||
private fun FirExpression.isReceiverPostponed(): Boolean {
|
||||
if (resolvedType.containsNotFixedTypeVariables()) return true
|
||||
if ((this as? FirResolvable)?.candidate()?.usedOuterCs == true) return true
|
||||
|
||||
return false
|
||||
return when {
|
||||
resolvedType.containsNotFixedTypeVariables() -> true
|
||||
(this as? FirResolvable)?.candidate()?.usedOuterCs == true -> true
|
||||
else -> false
|
||||
}
|
||||
}
|
||||
|
||||
private fun ConeKotlinType.containsNotFixedTypeVariables(): Boolean =
|
||||
|
||||
Reference in New Issue
Block a user