DataFLowInfo doesn't flow from when-checks
This commit is contained in:
@@ -15,13 +15,16 @@
|
||||
*/
|
||||
package org.jetbrains.jet.checkers;
|
||||
|
||||
import junit.framework.Assert;
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import java.io.File;
|
||||
import org.jetbrains.jet.JetTestUtils;
|
||||
import org.jetbrains.jet.test.InnerTestClasses;
|
||||
import org.jetbrains.jet.test.TestMetadata;
|
||||
|
||||
import java.io.File;
|
||||
import org.jetbrains.jet.checkers.AbstractDiagnosticsTestWithEagerResolve;
|
||||
|
||||
/** This class is generated by {@link org.jetbrains.jet.checkers.AbstractDiagnosticsTestWithEagerResolve}. DO NOT MODIFY MANUALLY */
|
||||
@InnerTestClasses({JetDiagnosticsTestGenerated.Tests.class, JetDiagnosticsTestGenerated.Script.class, })
|
||||
@@ -947,6 +950,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/dataFlow/CalleeExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IsExpression.kt")
|
||||
public void testIsExpression() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/dataFlow/IsExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TupleExpression.kt")
|
||||
public void testTupleExpression() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/dataFlow/TupleExpression.kt");
|
||||
|
||||
Reference in New Issue
Block a user