Proper instructions for elvis operator
We should not mark elvis operator unused, for the rhs may have desired side-effects
This commit is contained in:
@@ -142,6 +142,11 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
|
||||
doTest("compiler/testData/cfg/invoke.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lastElvis.kt")
|
||||
public void testLastElvis() throws Exception {
|
||||
doTest("compiler/testData/cfg/lastElvis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LazyBooleans.kt")
|
||||
public void testLazyBooleans() throws Exception {
|
||||
doTest("compiler/testData/cfg/LazyBooleans.kt");
|
||||
|
||||
Reference in New Issue
Block a user