[FIR] Improve comment for ConeIntersectionType
This commit is contained in:
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>,
|
||||
|
||||
Reference in New Issue
Block a user