Retain data flow info after when-expressions
This means the subject expression and the common data flow info of all entries' conditions
This commit is contained in:
@@ -1316,6 +1316,21 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/When.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WhenEntry.kt")
|
||||
public void testWhenEntry() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/WhenEntry.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WhenIn.kt")
|
||||
public void testWhenIn() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/WhenIn.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WhenSubject.kt")
|
||||
public void testWhenSubject() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/WhenSubject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("While.kt")
|
||||
public void testWhile() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/While.kt");
|
||||
|
||||
Reference in New Issue
Block a user