[FIR] Elvis operator: flexible rhs type implies flexible type of whole elvis
It's required for further removing of enhancement of final static fields Also, it's k2-potential feature ^KT-62467 Fixed
This commit is contained in:
committed by
Space Team
parent
648330da50
commit
2d61b9a477
+6
@@ -3351,6 +3351,12 @@ public class DiagnosticCompilerTestFirTestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/inference/extensionCallableReferences.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("flexibleTypeAtRightSideOfElvis.kt")
|
||||
public void testFlexibleTypeAtRightSideOfElvis() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/inference/flexibleTypeAtRightSideOfElvis.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteralAsComparable.kt")
|
||||
public void testIntegerLiteralAsComparable() throws Exception {
|
||||
|
||||
+6
@@ -3351,6 +3351,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFirTestDataTestGenerated
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/inference/extensionCallableReferences.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("flexibleTypeAtRightSideOfElvis.kt")
|
||||
public void testFlexibleTypeAtRightSideOfElvis() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/inference/flexibleTypeAtRightSideOfElvis.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("integerLiteralAsComparable.kt")
|
||||
public void testIntegerLiteralAsComparable() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user