Allow type variable fixation into intersection type if it isn't meaningless (i.e. has one or more final classes, or two or more open classes)
^KT-46186 Fixed
This commit is contained in:
+6
@@ -29029,6 +29029,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/kt42472.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt46186.kt")
|
||||
public void testKt46186() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/kt46186.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("misplacedConstraints.kt")
|
||||
public void testMisplacedConstraints() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user