Make project compilable after member scope refinement
This commit is contained in:
@@ -29,7 +29,7 @@ public fun <T> Collection<T>?.concat(collection: Collection<T>): Collection<T>?
|
||||
if (this == null) {
|
||||
return collection
|
||||
}
|
||||
if (this is LinkedHashSet<*>) {
|
||||
if (this is LinkedHashSet) {
|
||||
addAll(collection)
|
||||
return this
|
||||
}
|
||||
|
||||
+1
-1
@@ -282,7 +282,7 @@ public class MoveKotlinTopLevelDeclarationsProcessor(
|
||||
override fun computeHashCode(e: PsiElement?): Int {
|
||||
return when (e) {
|
||||
null -> 0
|
||||
is KtLightElement<*, *> -> e.getOrigin().hashCode() * 31 + (e.name?.hashCode() ?: 0)
|
||||
is KtLightElement<*, *> -> (e.getOrigin()?.hashCode() ?: 0) * 31 + (e.name?.hashCode() ?: 0)
|
||||
else -> e.hashCode()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user