Clarified assertion for EA-45529.
This commit is contained in:
@@ -123,7 +123,7 @@ class KotlinSignatureUtil {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
PsiAnnotation annotation = findKotlinSignatureAnnotation(element);
|
PsiAnnotation annotation = findKotlinSignatureAnnotation(element);
|
||||||
assert annotation != null;
|
assert annotation != null : "Annotation not found for " + element.getText();
|
||||||
if (annotation.getContainingFile() == annotationOwner.getContainingFile()) {
|
if (annotation.getContainingFile() == annotationOwner.getContainingFile()) {
|
||||||
return annotation.isWritable();
|
return annotation.isWritable();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user