[NI] Don't consider Any!-constraint from upper bounds as more specific
#KT-31624 Fixed
This commit is contained in:
@@ -10226,6 +10226,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
public void testNothingWithCallableReference() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/nothingWithCallableReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("platformNothingAsUsefulConstraint.kt")
|
||||
public void testPlatformNothingAsUsefulConstraint() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/platformNothingAsUsefulConstraint.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/inference/recursiveCalls")
|
||||
|
||||
Reference in New Issue
Block a user