K2: Emulate K1 behavior in case of when-elvis combination
^KT-55692 Related
This commit is contained in:
committed by
Space Team
parent
e46ef0bbec
commit
181f23bd8d
+6
@@ -14066,6 +14066,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/inference/dontThrowEmptyIntersectionException.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvisInsideWhen.kt")
|
||||
public void testElvisInsideWhen() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/elvisInsideWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalitySubstitutionInsideNonInvariantType.kt")
|
||||
public void testEqualitySubstitutionInsideNonInvariantType() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user