tests: apply official code style
#KT-38632 Fixed
This commit is contained in:
@@ -3,7 +3,14 @@
|
||||
|
||||
package test
|
||||
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.EXPRESSION)
|
||||
@Target(
|
||||
AnnotationTarget.CLASS,
|
||||
AnnotationTarget.LOCAL_VARIABLE,
|
||||
AnnotationTarget.VALUE_PARAMETER,
|
||||
AnnotationTarget.CONSTRUCTOR,
|
||||
AnnotationTarget.FUNCTION,
|
||||
AnnotationTarget.EXPRESSION
|
||||
)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class AnnTarget
|
||||
|
||||
@@ -11,6 +18,6 @@ fun println(v: Int) {}
|
||||
|
||||
fun apply() {
|
||||
var v = 0
|
||||
@AnnTarget v++
|
||||
<caret>@AnnTarget v++
|
||||
println(v)
|
||||
}
|
||||
Reference in New Issue
Block a user