mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
$default dispatch methods gains @Deprecated if the original function with default arguments has it.
7 lines
110 B
Kotlin
Vendored
7 lines
110 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
class Foo {
|
|
@JvmOverloads @Deprecated(message = "Foo") fun bar(x: String = "") {
|
|
}
|
|
}
|