[NI] Approximate flexible types with enhancement as usual ones
This is temporary and should be fixed later
This commit is contained in:
@@ -127,7 +127,8 @@ class TypeApproximator {
|
|||||||
return if (conf.rawType) null else type.bound()
|
return if (conf.rawType) null else type.bound()
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(type is FlexibleTypeImpl) {
|
// TODO: currently we can lose information about enhancement, should be fixed later
|
||||||
|
assert(type is FlexibleTypeImpl || type is FlexibleTypeWithEnhancement) {
|
||||||
"Unexpected subclass of FlexibleType: ${type::class.java.canonicalName}, type = $type"
|
"Unexpected subclass of FlexibleType: ${type::class.java.canonicalName}, type = $type"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user