K2: Delete failing test for KT-55555

It appeared again after 2b3f34cc52
And still needs some investigation

^KT-55555 Open
This commit is contained in:
Denis.Zharkov
2023-02-15 10:07:53 +01:00
committed by Space Team
parent 14418a31ac
commit d84490dcfa
6 changed files with 0 additions and 61 deletions
@@ -3303,12 +3303,6 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
runTest("compiler/fir/analysis-tests/testData/resolve/inference/kt54990.kt");
}
@Test
@TestMetadata("kt55555.kt")
public void testKt55555() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/inference/kt55555.kt");
}
@Test
@TestMetadata("lambdaAsReturnStatementOfLambda.kt")
public void testLambdaAsReturnStatementOfLambda() throws Exception {
@@ -2895,11 +2895,6 @@ public class LazyBodyIsNotTouchedTilContractsPhaseTestGenerated extends Abstract
runTest("compiler/fir/analysis-tests/testData/resolve/inference/kt54990.kt");
}
@TestMetadata("kt55555.kt")
public void testKt55555() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/inference/kt55555.kt");
}
@TestMetadata("lambdaAsReturnStatementOfLambda.kt")
public void testLambdaAsReturnStatementOfLambda() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/inference/lambdaAsReturnStatementOfLambda.kt");
@@ -1,24 +0,0 @@
FILE: kt55555.kt
private abstract interface Foo : R|kotlin/Any| {
}
private final class Bar<T : R|Foo|, L : R|kotlin/collections/List<T>|> : R|kotlin/Any| {
public constructor<T : R|Foo|, L : R|kotlin/collections/List<T>|>(): R|Bar<T, L>| {
super<R|kotlin/Any|>()
}
}
private final fun <T : R|Foo|> bar(t: R|T|): R|Bar<T, *>| {
^bar Null(null)!!
}
private final fun <T : R|Foo|> foo(t: R|T|): R|T| {
lval map: R|Bar<T, *>| = when () {
(R|<local>/t| is R|Bar<*, *>|) -> {
(R|<local>/t| as R|Bar<T, *>|)
}
else -> {
R|/bar|<R|T|>(R|<local>/t|)
}
}
^foo R|<local>/t|
}
@@ -1,14 +0,0 @@
// ISSUE: KT-55555
private interface Foo
private class Bar<T : Foo, L : List<T>>
private fun <T : Foo> bar(t: T): Bar<T, *> = null!!
private fun <T : Foo> foo(t: T): T {
val map =
if (t is Bar<*, *>) t <!UNCHECKED_CAST!>as Bar<T, *><!>
else bar(t)
return t
}
@@ -3303,12 +3303,6 @@ public class FirDiagnosticTestGenerated extends AbstractFirDiagnosticTest {
runTest("compiler/fir/analysis-tests/testData/resolve/inference/kt54990.kt");
}
@Test
@TestMetadata("kt55555.kt")
public void testKt55555() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/inference/kt55555.kt");
}
@Test
@TestMetadata("lambdaAsReturnStatementOfLambda.kt")
public void testLambdaAsReturnStatementOfLambda() throws Exception {
@@ -3303,12 +3303,6 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
runTest("compiler/fir/analysis-tests/testData/resolve/inference/kt54990.kt");
}
@Test
@TestMetadata("kt55555.kt")
public void testKt55555() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/inference/kt55555.kt");
}
@Test
@TestMetadata("lambdaAsReturnStatementOfLambda.kt")
public void testLambdaAsReturnStatementOfLambda() throws Exception {