fixed: smart cast of boolean variable didn't work in boolean expression
This commit is contained in:
@@ -1331,6 +1331,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/diagnostics/tests/checkArguments"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("booleanExpressions.kt")
|
||||
public void testBooleanExpressions() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/checkArguments/booleanExpressions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt1897_diagnostic_part.kt")
|
||||
public void testKt1897_diagnostic_part() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/checkArguments/kt1897_diagnostic_part.kt");
|
||||
@@ -4717,6 +4722,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/smartCastedReceiverWithGenerics.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("smartCastsAndBooleanExpressions.kt")
|
||||
public void testSmartCastsAndBooleanExpressions() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/smartCastsAndBooleanExpressions.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/nullableTypes")
|
||||
|
||||
Reference in New Issue
Block a user