ReplaceArrayOfWithLiteralInspection: Remove unnecessary parentheses
#KT-21878 Fixed
This commit is contained in:
committed by
Alexey Sedunov
parent
c95ed9fd20
commit
8271e85dbb
@@ -449,6 +449,8 @@ public class KtPsiUtil {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (parentElement instanceof KtCollectionLiteralExpression) return false;
|
||||
|
||||
if (innerExpression instanceof KtIfExpression) {
|
||||
if (parentElement instanceof KtQualifiedExpression) return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user