rename platformName annotation to jvmName

This commit is contained in:
Dmitry Jemerov
2015-08-24 21:05:26 +02:00
parent 3465126bee
commit 4743a69d76
26 changed files with 249 additions and 249 deletions
@@ -1,22 +1,20 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
import kotlin.platform.*
@platformName("bar")
@jvmName("bar")
fun foo(a: Any) {}
fun Any.foo() {}
@platformName("barInt")
@jvmName("barInt")
fun bar(x: List<Int>) {}
@platformName("barStr")
@jvmName("barStr")
fun bar(x: List<String>) {}
class C {
var rwProp: Int
@platformName("get_rwProp")
@jvmName("get_rwProp")
get() = 0
@platformName("set_rwProp")
@jvmName("set_rwProp")
set(v) {}
fun getRwProp(): Int = 123