[FIR] Fix checking for boolean exhaustiveness with || in branch
This commit is contained in:
+6
@@ -232,5 +232,11 @@ class FirWhenExhaustivenessTransformer(private val bodyResolveComponents: BodyRe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun visitBinaryLogicExpression(binaryLogicExpression: FirBinaryLogicExpression, data: BooleanExhaustivenessFlags) {
|
||||||
|
if (binaryLogicExpression.kind == LogicOperationKind.OR) {
|
||||||
|
binaryLogicExpression.acceptChildren(this, data)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user