[FIR] Adding a test case to show resolution of KT-29559 in K2
This commit is contained in:
+12
@@ -1089,6 +1089,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/phantomIntersections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("postfixIncSmartCast.kt")
|
||||
public void testPostfixIncSmartCast() {
|
||||
runTest("compiler/testData/diagnostics/tests/postfixIncSmartCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("prefixIncReturnType.kt")
|
||||
public void testPrefixIncReturnType() {
|
||||
@@ -35518,6 +35524,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/incDecToNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incrementAfterAssignment.kt")
|
||||
public void testIncrementAfterAssignment() {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/incrementAfterAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt10232.kt")
|
||||
public void testKt10232() {
|
||||
|
||||
+12
@@ -1089,6 +1089,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/phantomIntersections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("postfixIncSmartCast.kt")
|
||||
public void testPostfixIncSmartCast() {
|
||||
runTest("compiler/testData/diagnostics/tests/postfixIncSmartCast.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("prefixIncReturnType.kt")
|
||||
public void testPrefixIncReturnType() {
|
||||
@@ -35518,6 +35524,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/incDecToNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incrementAfterAssignment.kt")
|
||||
public void testIncrementAfterAssignment() {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/incrementAfterAssignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt10232.kt")
|
||||
public void testKt10232() {
|
||||
|
||||
Reference in New Issue
Block a user