Do not retrieve parent of FQname for root
#KT-8642 Fixed
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ class LazyJavaClassDescriptor(
|
||||
?: FakePureImplementationsProvider.getPurelyImplementedInterface(fqName)
|
||||
?: return null
|
||||
|
||||
if (purelyImplementedFqName.parent() != KotlinBuiltIns.BUILT_INS_PACKAGE_FQ_NAME) return null
|
||||
if (purelyImplementedFqName.isRoot || purelyImplementedFqName.parent() != KotlinBuiltIns.BUILT_INS_PACKAGE_FQ_NAME) return null
|
||||
|
||||
val classDescriptor = c.module.builtIns.getBuiltInClassByNameNullable(purelyImplementedFqName.shortName()) ?: return null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user