K2: don't report inline access errors on const properties in annotations
#KT-60604 Fixed
This commit is contained in:
committed by
Space Team
parent
bb8002d9f1
commit
5cd3f8bb97
-6
@@ -1,6 +0,0 @@
|
||||
// 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()
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-60604
|
||||
|
||||
private const val MESSAGE = "This is deprecated"
|
||||
|
||||
Reference in New Issue
Block a user