[NI] Don't consider Any!-constraint from upper bounds as more specific

#KT-31624 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2019-05-27 13:18:59 +03:00
parent 8bef345f0f
commit c30e045b1b
6 changed files with 90 additions and 6 deletions
@@ -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")