Update tests after switching to LV 1.9

This commit is contained in:
Dmitriy Novozhilov
2023-01-23 11:34:48 +02:00
committed by Space Team
parent 66544a4e00
commit 88efa6bfb6
279 changed files with 1520 additions and 1239 deletions
@@ -1,28 +0,0 @@
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// FILE: J.java
public class J {
@Deprecated
public void foo() {}
}
// FILE: J2.java
public class J2 extends J implements WithDeprecation {
@Override
public void foo() {}
}
// FILE: main.kt
interface WithDeprecation {
@Deprecated("")
fun foo()
}
class A : J(), WithDeprecation {
override fun <!OVERRIDE_DEPRECATION!>foo<!>() {}
}
fun main() {
J().<!DEPRECATION!>foo<!>()
J2().foo()
A().foo()
}
@@ -1,4 +1,5 @@
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// FIR_IDENTICAL
// FILE: J.java
public class J {
@Deprecated
@@ -17,12 +18,12 @@ interface WithDeprecation {
}
class A : J(), WithDeprecation {
override fun <!OVERRIDE_DEPRECATION("This deprecation won't be inherited in future releases. ")!>foo<!>() {}
override fun <!OVERRIDE_DEPRECATION!>foo<!>() {}
}
fun main() {
J().<!DEPRECATION!>foo<!>()
J2().<!DEPRECATION!>foo<!>()
A().<!DEPRECATION!>foo<!>()
J2().foo()
A().foo()
}