mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-22846 - assert: ProblemDescriptorImpl.<init>
This commit is contained in:
+1
-1
@@ -268,7 +268,7 @@ public class GroovyAssignabilityCheckInspection extends BaseInspection {
|
||||
private void highlightInapplicableMethodUsage(GroovyResolveResult methodResolveResult, PsiElement place,
|
||||
PsiMethod method, PsiType[] argumentTypes) {
|
||||
PsiElement elementToHighlight = PsiUtil.getArgumentsList(place);
|
||||
if (elementToHighlight == null) {
|
||||
if (elementToHighlight == null || elementToHighlight.getTextRange().getLength() == 0) {
|
||||
elementToHighlight = place;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user