Classified usages in "is" of when entry correctly.
#KT-7047 fixed
This commit is contained in:
@@ -103,7 +103,8 @@ public object UsageTypeUtils {
|
||||
refExpr.getParentOfTypeAndBranch<JetParameter>(){ getTypeReference() } != null ->
|
||||
VALUE_PARAMETER_TYPE
|
||||
|
||||
refExpr.getParentOfTypeAndBranch<JetIsExpression>(){ getTypeReference() } != null ->
|
||||
refExpr.getParentOfTypeAndBranch<JetIsExpression>(){ getTypeReference() } != null
|
||||
|| refExpr.getParentOfTypeAndBranch<JetWhenConditionIsPattern>(){ getTypeReference() } != null ->
|
||||
IS
|
||||
|
||||
with(refExpr.getParentOfTypeAndBranch<JetBinaryExpressionWithTypeRHS>(){ getRight() }) {
|
||||
|
||||
Reference in New Issue
Block a user