Do not check type depth for constrains generated on subtyping

#KT-38143 fixed
This commit is contained in:
Ilya Chernikov
2020-04-22 16:44:13 +02:00
parent 1bcccca007
commit 45ac81c585
6 changed files with 98 additions and 3 deletions
@@ -1921,6 +1921,11 @@ public class FirOldFrontendDiagnosticsTestWithStdlibGenerated extends AbstractFi
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt37627.kt");
}
@TestMetadata("kt38143.kt")
public void testKt38143() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt38143.kt");
}
@TestMetadata("kt4975.kt")
public void testKt4975() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt4975.kt");