Packages: move Ranges, Progression, ProgressionIterators to kotlin.ranges and PrimitiveIterators to kotlin.collections.
This commit is contained in:
+1
-1
@@ -274,7 +274,7 @@ fun ClassDescriptor.hasRealKotlinSuperClassWithOverrideOf(
|
||||
|
||||
if (doesOverrideBuiltinDeclaration) {
|
||||
val containingPackageFragment = DescriptorUtils.getParentOfType(superClassDescriptor, PackageFragmentDescriptor::class.java)
|
||||
if (containingPackageFragment === superClassDescriptor.builtIns.builtInsPackageFragment) return false
|
||||
if (superClassDescriptor.builtIns.isBuiltInPackageFragment(containingPackageFragment)) return false
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user