KT-34572 Convert to block body action improperly works with suppress annotations (#2969)
* Convert to block body: place @Suppress annotation before return expression #KT-34572 Fixed * Convert to block body: place annotations before return expression
This commit is contained in:
committed by
GitHub
parent
9e0bb4ce8e
commit
8ce9b2d061
@@ -0,0 +1,12 @@
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class ann
|
||||
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class ann2
|
||||
|
||||
fun test() =<caret>
|
||||
@ann
|
||||
@ann2
|
||||
1
|
||||
Reference in New Issue
Block a user