[FIR] Improve comment for ConeIntersectionType

This commit is contained in:
Kirill Rakhman
2023-04-12 11:15:12 +02:00
committed by Space Team
parent 35c6da1aa7
commit f08da86cfd
@@ -208,11 +208,9 @@ class ConeRawType private constructor(
}
}
/*
* Contract of the intersection type: it is flat. It means that
* intersection type can not contains another intersection types
* inside it. To keep this contract construct new intersection types
* only via ConeTypeIntersector
/**
* Contract of the intersection type: it is flat. It means that an intersection type can not contain another intersection type inside it.
* To comply with this contract, construct new intersection types only via [org.jetbrains.kotlin.fir.types.ConeTypeIntersector].
*/
class ConeIntersectionType(
val intersectedTypes: Collection<ConeKotlinType>,