NI: Fix type mismatch caused by smartcast
^KT-25434 Fixed
This commit is contained in:
@@ -10030,6 +10030,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/starApproximationFlexible.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tooEagerSmartcast.kt")
|
||||
public void testTooEagerSmartcast() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/tooEagerSmartcast.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tryNumberLowerBoundsBeforeUpperBounds.kt")
|
||||
public void testTryNumberLowerBoundsBeforeUpperBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/tryNumberLowerBoundsBeforeUpperBounds.kt");
|
||||
|
||||
Generated
+5
@@ -10025,6 +10025,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/inference/starApproximationFlexible.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tooEagerSmartcast.kt")
|
||||
public void testTooEagerSmartcast() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/tooEagerSmartcast.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tryNumberLowerBoundsBeforeUpperBounds.kt")
|
||||
public void testTryNumberLowerBoundsBeforeUpperBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/tryNumberLowerBoundsBeforeUpperBounds.kt");
|
||||
|
||||
Reference in New Issue
Block a user