diff --git a/idea/src/org/jetbrains/jet/plugin/completion/JetLookupObject.java b/idea/src/org/jetbrains/jet/plugin/completion/JetLookupObject.java index 59ceaa59d5a..50b81dfd2c9 100644 --- a/idea/src/org/jetbrains/jet/plugin/completion/JetLookupObject.java +++ b/idea/src/org/jetbrains/jet/plugin/completion/JetLookupObject.java @@ -36,8 +36,8 @@ public final class JetLookupObject { @Nullable private final DeclarationDescriptor descriptor; - @Nullable - private ResolveSession resolveSession; + @NotNull + private final ResolveSession resolveSession; @Nullable private final PsiElement psiElement; @@ -99,7 +99,7 @@ public final class JetLookupObject { } if (psiElement != null && psiElement.equals(other.psiElement)) { - // Warning here - why descriptors are not same??? + LOG.warn("Different descriptors for same psi elements"); return true; }