Restrict retention for annotations with target EXPRESSION
#KT-13762 Fixed
This commit is contained in:
@@ -7,6 +7,7 @@ annotation class FunAnn
|
||||
annotation class SourceAnn
|
||||
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class ExprAnn
|
||||
|
||||
fun bar(arg: () -> Int) = arg()
|
||||
|
||||
Reference in New Issue
Block a user