K2: reproduce KT-60604
This commit is contained in:
committed by
Space Team
parent
94ce4c06a7
commit
bb8002d9f1
+6
@@ -0,0 +1,6 @@
|
||||
// ISSUE: KT-60604
|
||||
|
||||
private const val MESSAGE = "This is deprecated"
|
||||
|
||||
@Deprecated(<!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>MESSAGE<!>)
|
||||
inline fun hello(f: () -> Int): Int = f()
|
||||
@@ -0,0 +1,6 @@
|
||||
// ISSUE: KT-60604
|
||||
|
||||
private const val MESSAGE = "This is deprecated"
|
||||
|
||||
@Deprecated(MESSAGE)
|
||||
inline fun hello(f: () -> Int): Int = f()
|
||||
Reference in New Issue
Block a user