KT-13355: fix Kotlin compilation.
This commit is contained in:
@@ -30,5 +30,7 @@ interface TypeAliasDescriptor : ClassifierDescriptorWithTypeParameters {
|
|||||||
|
|
||||||
val classDescriptor: ClassDescriptor?
|
val classDescriptor: ClassDescriptor?
|
||||||
|
|
||||||
|
override fun getOriginal(): TypeAliasDescriptor
|
||||||
|
|
||||||
override fun substitute(substitutor: TypeSubstitutor): TypeAliasDescriptor
|
override fun substitute(substitutor: TypeSubstitutor): TypeAliasDescriptor
|
||||||
}
|
}
|
||||||
|
|||||||
+2
@@ -76,6 +76,8 @@ abstract class AbstractTypeAliasDescriptor(
|
|||||||
|
|
||||||
override fun toString(): String = "typealias ${name.asString()}"
|
override fun toString(): String = "typealias ${name.asString()}"
|
||||||
|
|
||||||
|
override fun getOriginal(): TypeAliasDescriptor = super.getOriginal() as TypeAliasDescriptor
|
||||||
|
|
||||||
protected abstract fun getTypeConstructorTypeParameters(): List<TypeParameterDescriptor>
|
protected abstract fun getTypeConstructorTypeParameters(): List<TypeParameterDescriptor>
|
||||||
|
|
||||||
protected fun computeDefaultType(): SimpleType =
|
protected fun computeDefaultType(): SimpleType =
|
||||||
|
|||||||
Reference in New Issue
Block a user