[FIR] Add some corner case tests for KT-64891
Note that there are some that K2 correctly supports, while K1 fails. ^KT-64891
This commit is contained in:
committed by
Space Team
parent
3a36a786d4
commit
eb11901d43
+18
@@ -375,6 +375,24 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/equalityWithSmartCastInIfBlock.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expressionsInQaSelectorsCornerCases.kt")
|
||||
public void testExpressionsInQaSelectorsCornerCases() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/expressionsInQaSelectorsCornerCases.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expressionsInQaSelectorsReceiverConversion.kt")
|
||||
public void testExpressionsInQaSelectorsReceiverConversion() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/expressionsInQaSelectorsReceiverConversion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expressionsInQaSelectorsWithElvis.kt")
|
||||
public void testExpressionsInQaSelectorsWithElvis() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/expressionsInQaSelectorsWithElvis.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionCallInvoke.kt")
|
||||
public void testExtensionCallInvoke() throws Exception {
|
||||
|
||||
+18
@@ -375,6 +375,24 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/equalityWithSmartCastInIfBlock.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expressionsInQaSelectorsCornerCases.kt")
|
||||
public void testExpressionsInQaSelectorsCornerCases() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/expressionsInQaSelectorsCornerCases.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expressionsInQaSelectorsReceiverConversion.kt")
|
||||
public void testExpressionsInQaSelectorsReceiverConversion() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/expressionsInQaSelectorsReceiverConversion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expressionsInQaSelectorsWithElvis.kt")
|
||||
public void testExpressionsInQaSelectorsWithElvis() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/expressionsInQaSelectorsWithElvis.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionCallInvoke.kt")
|
||||
public void testExtensionCallInvoke() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user