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) {
|
if (this == null) {
|
||||||
return collection
|
return collection
|
||||||
}
|
}
|
||||||
if (this is LinkedHashSet<*>) {
|
if (this is LinkedHashSet) {
|
||||||
addAll(collection)
|
addAll(collection)
|
||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -282,7 +282,7 @@ public class MoveKotlinTopLevelDeclarationsProcessor(
|
|||||||
override fun computeHashCode(e: PsiElement?): Int {
|
override fun computeHashCode(e: PsiElement?): Int {
|
||||||
return when (e) {
|
return when (e) {
|
||||||
null -> 0
|
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()
|
else -> e.hashCode()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user