FE: do not wrap types with enhancements if they're the same
This commit is contained in:
+24
@@ -636,6 +636,18 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
@@ -784,6 +796,18 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
|
||||
+24
@@ -636,6 +636,18 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
@@ -784,6 +796,18 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
|
||||
+24
@@ -636,6 +636,18 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
@@ -784,6 +796,18 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/AnnotatedBoundsOfWildcard.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.kt")
|
||||
public void testCaptured() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Captured.fir.kt")
|
||||
public void testCaptured_fir() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Captured.fir.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Defaults.kt")
|
||||
public void testDefaults() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user