K2: drop unused ConeStubTypeForSyntheticFixation
This commit is contained in:
committed by
Space Team
parent
f1aaae9515
commit
9b2fc061e5
@@ -120,10 +120,6 @@ open class ConeTypeRenderer(
|
|||||||
builder.append(")")
|
builder.append(")")
|
||||||
}
|
}
|
||||||
|
|
||||||
is ConeStubTypeForSyntheticFixation -> {
|
|
||||||
builder.append("Stub (fixation): ${type.constructor.variable}")
|
|
||||||
}
|
|
||||||
|
|
||||||
is ConeStubTypeForChainInference -> {
|
is ConeStubTypeForChainInference -> {
|
||||||
builder.append("Stub (chain inference): ${type.constructor.variable}")
|
builder.append("Stub (chain inference): ${type.constructor.variable}")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -103,11 +103,6 @@ open class ConeStubTypeForChainInference(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
class ConeStubTypeForSyntheticFixation(
|
|
||||||
constructor: ConeStubTypeConstructor,
|
|
||||||
nullability: ConeNullability
|
|
||||||
) : ConeStubTypeForChainInference(constructor, nullability)
|
|
||||||
|
|
||||||
class ConeStubTypeForTypeVariableInSubtyping(
|
class ConeStubTypeForTypeVariableInSubtyping(
|
||||||
constructor: ConeStubTypeConstructor,
|
constructor: ConeStubTypeConstructor,
|
||||||
nullability: ConeNullability
|
nullability: ConeNullability
|
||||||
|
|||||||
@@ -215,7 +215,6 @@ fun <T : ConeKotlinType> T.withNullability(
|
|||||||
ConeNullability.NOT_NULL -> this
|
ConeNullability.NOT_NULL -> this
|
||||||
}
|
}
|
||||||
|
|
||||||
is ConeStubTypeForSyntheticFixation -> ConeStubTypeForSyntheticFixation(constructor, nullability)
|
|
||||||
is ConeStubTypeForChainInference -> ConeStubTypeForChainInference(constructor, nullability)
|
is ConeStubTypeForChainInference -> ConeStubTypeForChainInference(constructor, nullability)
|
||||||
is ConeStubTypeForTypeVariableInSubtyping -> ConeStubTypeForTypeVariableInSubtyping(constructor, nullability)
|
is ConeStubTypeForTypeVariableInSubtyping -> ConeStubTypeForTypeVariableInSubtyping(constructor, nullability)
|
||||||
is ConeDefinitelyNotNullType -> when (nullability) {
|
is ConeDefinitelyNotNullType -> when (nullability) {
|
||||||
|
|||||||
Reference in New Issue
Block a user