Deprecate JVM platform annotations in favor of capitilized themselves

This commit is contained in:
Denis Zharkov
2015-09-04 14:46:46 +03:00
parent 5471a1d18a
commit 952d45dc8b
107 changed files with 290 additions and 266 deletions
@@ -1,20 +1,20 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
@jvmName("bar")
@JvmName("bar")
fun foo(a: Any) {}
fun Any.foo() {}
@jvmName("barInt")
@JvmName("barInt")
fun bar(x: List<Int>) {}
@jvmName("barStr")
@JvmName("barStr")
fun bar(x: List<String>) {}
class C {
var rwProp: Int
@jvmName("get_rwProp")
@JvmName("get_rwProp")
get() = 0
@jvmName("set_rwProp")
@JvmName("set_rwProp")
set(v) {}
fun getRwProp(): Int = 123