FIR: implement isDenotable on type constructor more accurately
This commit is contained in:
committed by
Mikhail Glukhikh
parent
21d002ab6f
commit
26119f0403
@@ -253,7 +253,13 @@ interface ConeTypeContext : TypeSystemContext, TypeSystemOptimizationContext {
|
||||
}
|
||||
|
||||
override fun TypeConstructorMarker.isDenotable(): Boolean {
|
||||
return true // TODO
|
||||
//TODO
|
||||
return when (this) {
|
||||
is ConeCapturedTypeConstructor -> false
|
||||
is ConeTypeVariableTypeConstructor -> false
|
||||
is ConeSymbol -> true
|
||||
else -> true
|
||||
}
|
||||
}
|
||||
|
||||
override fun TypeConstructorMarker.isCommonFinalClassConstructor(): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user