Deprecate JVM platform annotations in favor of capitilized themselves
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
@jvmName("bar")
|
||||
@JvmName("bar")
|
||||
fun foo() {}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
kotlin.jvm.jvmName(name = "bar") internal fun foo(): kotlin.Unit
|
||||
kotlin.jvm.JvmName(name = "bar") internal fun foo(): kotlin.Unit
|
||||
|
||||
public open class PlatformName {
|
||||
public constructor PlatformName()
|
||||
|
||||
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
class E1: Exception()
|
||||
|
||||
Throws(E1::class) jvmOverloads
|
||||
Throws(E1::class) JvmOverloads
|
||||
fun one(a: Int = 1) {}
|
||||
|
||||
class One @Throws(E1::class) constructor(a: Int = 1) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
kotlin.jvm.jvmOverloads() internal fun one(/*0*/ kotlin.Int = ...): kotlin.Unit
|
||||
kotlin.jvm.JvmOverloads() internal fun one(/*0*/ kotlin.Int = ...): kotlin.Unit
|
||||
|
||||
internal final class E1 : java.lang.Exception {
|
||||
public constructor E1()
|
||||
|
||||
Reference in New Issue
Block a user