KtLightModifierListWithExplicitModifiers: fix equals

This commit is contained in:
Pavel V. Talanov
2017-02-21 17:53:39 +03:00
parent d01aaeb65c
commit ed9e94c632
@@ -87,7 +87,7 @@ class KtLightModifierList(
override fun copy(): PsiElement = KtLightModifierList(delegate, owner)
override fun getReferences() = PsiReference.EMPTY_ARRAY
override fun isEquivalentTo(another: PsiElement?) =
another is KtLightModifierList && delegate == another.delegate && owner == owner
another is KtLightModifierList && delegate == another.delegate && owner == another.owner
}
internal fun computeAnnotations(lightElement: PsiModifierList,