mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 08:31:29 +00:00
10 lines
264 B
Kotlin
Vendored
10 lines
264 B
Kotlin
Vendored
// "Add new line after annotations" "true"
|
|
|
|
@Target(AnnotationTarget.EXPRESSION)
|
|
annotation class Ann
|
|
|
|
fun foo(y: IntArray) {
|
|
// Currently it calls reformatting of base expression, but it seems to be a minor issue
|
|
@Ann y [ 0 + 9 * 4]<caret> = y[y [1]]
|
|
}
|