Get rid of deprecated annotations in testData
This commit is contained in:
@@ -6,7 +6,7 @@ import kotlin.platform.*
|
||||
object ObjWithNative {
|
||||
external fun foo(x: Int = 1): Double
|
||||
|
||||
platformStatic external fun bar(l: Long, s: String = ""): Double
|
||||
@platformStatic external fun bar(l: Long, s: String = ""): Double
|
||||
}
|
||||
|
||||
external fun topLevel(x: Int = 1): Double
|
||||
|
||||
@@ -3,7 +3,7 @@ import kotlin.platform.*
|
||||
|
||||
class C {
|
||||
companion object {
|
||||
private platformStatic external fun foo()
|
||||
private @platformStatic external fun foo()
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
|
||||
@@ -5,12 +5,12 @@ import kotlin.platform.*
|
||||
|
||||
class WithNative {
|
||||
companion object {
|
||||
platformStatic external fun bar(l: Long, s: String): Double
|
||||
@platformStatic external fun bar(l: Long, s: String): Double
|
||||
}
|
||||
}
|
||||
|
||||
object ObjWithNative {
|
||||
platformStatic external fun bar(l: Long, s: String): Double
|
||||
@platformStatic external fun bar(l: Long, s: String): Double
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
|
||||
Reference in New Issue
Block a user