KT-13355: fix Kotlin compilation.

This commit is contained in:
Dmitry Petrov
2017-01-19 11:10:56 +03:00
parent b36e3bc083
commit 5fc8208504
2 changed files with 4 additions and 0 deletions
@@ -30,5 +30,7 @@ interface TypeAliasDescriptor : ClassifierDescriptorWithTypeParameters {
val classDescriptor: ClassDescriptor?
override fun getOriginal(): TypeAliasDescriptor
override fun substitute(substitutor: TypeSubstitutor): TypeAliasDescriptor
}
@@ -76,6 +76,8 @@ abstract class AbstractTypeAliasDescriptor(
override fun toString(): String = "typealias ${name.asString()}"
override fun getOriginal(): TypeAliasDescriptor = super.getOriginal() as TypeAliasDescriptor
protected abstract fun getTypeConstructorTypeParameters(): List<TypeParameterDescriptor>
protected fun computeDefaultType(): SimpleType =