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:
+5
-1
@@ -173,7 +173,11 @@ public class DeserializedClassDescriptor(
|
||||
computeSupertypes()
|
||||
}
|
||||
|
||||
override fun getParameters() = c.typeDeserializer.ownTypeParameters
|
||||
private val parameters = c.storageManager.createLazyValue {
|
||||
this@DeserializedClassDescriptor.computeConstructorTypeParameters()
|
||||
}
|
||||
|
||||
override fun getParameters() = parameters()
|
||||
|
||||
override fun getSupertypes() = supertypes()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user