Replace annotations with brackets in testData
Just in tests that changed after deprecation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
class A {
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>[kotlin.jvm.overloads] fun foo(s: String = "")<!> {
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>@kotlin.jvm.overloads fun foo(s: String = "")<!> {
|
||||
}
|
||||
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>fun foo()<!> {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
import kotlin.platform.*
|
||||
|
||||
[platformName("bar")]
|
||||
@platformName("bar")
|
||||
fun foo(a: Any) {}
|
||||
|
||||
fun Any.foo() {}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
import kotlin.platform.*
|
||||
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>[platformName("bar")]
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>@platformName("bar")
|
||||
fun foo(a: Any)<!> {}
|
||||
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>fun bar(a: Any)<!> {}
|
||||
Reference in New Issue
Block a user