Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix description of
KaType.upperBoundIfFlexible
and `KaType.lowerBou…
…ndIfFlexible` According to https://github.com/JetBrains/kotlin/blob/2.1.0/analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KaTypeProvider.kt#L106-L112 ``` public fun KaType.upperBoundIfFlexible(): KaType = withValidityAssertion { (this as? KaFlexibleType)?.upperBound ?: this } public fun KaType.lowerBoundIfFlexible(): KaType = withValidityAssertion { (this as? KaFlexibleType)?.lowerBound ?: this } ``` instead of `null` they return the given type itself.
- Loading branch information