Build type enhancement properly, by taking into account both bounds of the original flexible type
^KT-44420 Fixed
This commit is contained in:
Generated
+6
@@ -20858,6 +20858,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/platformTypes/typeEnhancement"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("buildFlexibleEnhancement.kt")
|
||||
public void testBuildFlexibleEnhancement() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/platformTypes/typeEnhancement/buildFlexibleEnhancement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overriddenExtensions.kt")
|
||||
public void testOverriddenExtensions() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user