Delay ForbidInferringTypeVariablesIntoEmptyIntersection to 2.*
Note: here we set sinceVersion = null for this feature. However, we plan in 1.9.* - 2.0 time frame to solve KT-56377 and to enable this feature in 2.0, the latest in 2.1.
This commit is contained in:
committed by
Space Team
parent
a3dcc2032f
commit
f7544aff62
+12
@@ -35562,6 +35562,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/when/TopLevelSealed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterError.kt")
|
||||
public void testTypeParameterError() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/when/TypeParameterError.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterWarning.kt")
|
||||
public void testTypeParameterWarning() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/when/TypeParameterWarning.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("When.kt")
|
||||
public void testWhen() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user