Fix bare typed smartcasts in NI
Star projections should be replaced with star projections not for their expansions See the test
This commit is contained in:
@@ -8308,6 +8308,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/argumentsForT.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("bareTypesWithStarProjections.kt")
|
||||
public void testBareTypesWithStarProjections() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/bareTypesWithStarProjections.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("commonSupertypeContravariant.kt")
|
||||
public void testCommonSupertypeContravariant() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/commonSupertypeContravariant.kt");
|
||||
|
||||
Generated
+5
@@ -8303,6 +8303,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/generics/argumentsForT.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("bareTypesWithStarProjections.kt")
|
||||
public void testBareTypesWithStarProjections() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/bareTypesWithStarProjections.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("commonSupertypeContravariant.kt")
|
||||
public void testCommonSupertypeContravariant() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/commonSupertypeContravariant.kt");
|
||||
|
||||
Reference in New Issue
Block a user