Correct parameters of inner's class type constructor

Now it contains copies of outer's class constructor parameters
They are appended just after real type parameters
This commit is contained in:
Denis Zharkov
2015-11-03 14:12:36 +03:00
parent 7b4c0fb83a
commit 990bd7e71d
9 changed files with 88 additions and 4 deletions
@@ -131,7 +131,7 @@ class LazyJavaClassDescriptor(
private inner class LazyJavaClassTypeConstructor : AbstractClassTypeConstructor() {
private val parameters = c.storageManager.createLazyValue {
this@LazyJavaClassDescriptor.declaredTypeParameters
this@LazyJavaClassDescriptor.computeConstructorTypeParameters()
}
override fun getParameters(): List<TypeParameterDescriptor> = parameters()