Implement getParent for KotlinLightClassForDecompiledDeclaration
Fixes a bug where java resolve would be unable to resolve return types of CompiledKotlinEnum.values()/valueOf() methods Tested by EnumAutoGeneratedMethods java against kotlin checker test
This commit is contained in:
+2
@@ -46,6 +46,8 @@ class KotlinLightClassForDecompiledDeclaration(
|
||||
|
||||
override fun getFqName() = fqName
|
||||
|
||||
override fun getParent() = clsClass.parent
|
||||
|
||||
override fun equals(other: Any?): Boolean =
|
||||
other is KotlinLightClassForDecompiledDeclaration &&
|
||||
getFqName() == other.getFqName()
|
||||
|
||||
Reference in New Issue
Block a user