Add a quickfix for warning on ambiguously annotated expression

#KT-14238 Fixed
This commit is contained in:
Denis Zharkov
2016-10-07 16:49:31 +03:00
parent 84153f9636
commit 05aa9a5682
11 changed files with 167 additions and 0 deletions
@@ -0,0 +1,9 @@
// "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]]
}