849b8acbf8
Just in tests that changed after deprecation
16 lines
413 B
Kotlin
Vendored
16 lines
413 B
Kotlin
Vendored
// !DIAGNOSTICS: -NO_VALUE_FOR_PARAMETER
|
|
// FILE: A.java
|
|
|
|
@Deprecated
|
|
public class A {
|
|
@Deprecated
|
|
public String getFoo(String text) {
|
|
return text;
|
|
}
|
|
}
|
|
|
|
// FILE: B.kt
|
|
|
|
class B(private @deprecated val foo: String) : <!DEPRECATED_SYMBOL_WITH_MESSAGE!>A<!>() {
|
|
override fun getFoo(text: String): String = super.<!DEPRECATED_SYMBOL_WITH_MESSAGE!>getFoo<!>(text + <!DEPRECATED_SYMBOL!>foo<!>)
|
|
} |