Support flexible types in DataFlowValues

This commit is contained in:
Andrey Breslav
2014-06-25 15:10:36 +04:00
parent f7de0e274c
commit 45c1fa3741
4 changed files with 36 additions and 1 deletions
@@ -21,6 +21,8 @@ public trait FlexibleType : JetType {
val upperBound: JetType
}
public fun JetType.isFlexible(): Boolean = this is FlexibleType
public open class DelegatingFlexibleType(
override val lowerBound: JetType,
override val upperBound: JetType