Move: More accurate visibility analysis
#KT-10553 Fixed
This commit is contained in:
@@ -27,7 +27,7 @@ interface PsiSourceElement : SourceElement {
|
||||
override fun getContainingFile(): SourceFile = psi?.containingFile?.let { PsiSourceFile(it) } ?: SourceFile.NO_SOURCE_FILE
|
||||
}
|
||||
|
||||
class PsiSourceFile(private val psiFile: PsiFile): SourceFile {
|
||||
class PsiSourceFile(val psiFile: PsiFile): SourceFile {
|
||||
override fun equals(other: Any?): Boolean = other is PsiSourceFile && psiFile == other.psiFile
|
||||
override fun hashCode(): Int = psiFile.hashCode()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user