[K2] Properly evaluate complex boolean constants
Some boolean expressions could be transformed into `IrWhen` node. To understand that this node is actually a boolean expression, we need to analyze its origin. #KT-62683
This commit is contained in:
+5
@@ -24770,6 +24770,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/charOperations.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("complexBooleanConstant.kt")
|
||||
public void testComplexBooleanConstant() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/complexBooleanConstant.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doubleOperations.kt")
|
||||
public void testDoubleOperations() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/involvesIrInterpreter/doubleOperations.kt");
|
||||
|
||||
Reference in New Issue
Block a user