TypeSystemContext: Rework raw types processing
All the current usages are about checking if the type is raw, also in K2 it is simply incorrect to assume that only flexible types might be raw
This commit is contained in:
committed by
Space Team
parent
b6e59fe8fd
commit
eb09a25239
@@ -54,7 +54,7 @@ interface IrTypeSystemContext : TypeSystemContext, TypeSystemCommonSuperTypesCon
|
||||
|
||||
override fun FlexibleTypeMarker.asDynamicType() = this as? IrDynamicType
|
||||
|
||||
override fun FlexibleTypeMarker.asRawType(): RawTypeMarker? = null
|
||||
override fun KotlinTypeMarker.isRawType(): Boolean = false
|
||||
|
||||
override fun FlexibleTypeMarker.upperBound(): SimpleTypeMarker {
|
||||
return when (this) {
|
||||
|
||||
Reference in New Issue
Block a user