Add "Wrap with array literal" quick fix for annotation parameters

#KT-28969 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-01-05 13:53:13 +09:00
committed by Mikhail Glukhikh
parent 53b0aa5813
commit d02867a831
5 changed files with 47 additions and 0 deletions
@@ -0,0 +1,6 @@
// "Wrap with []" "true"
annotation class Foo(val value: Array<String>)
@Foo(value = "abc"<caret>)
class Bar
@@ -0,0 +1,6 @@
// "Wrap with []" "true"
annotation class Foo(val value: Array<String>)
@Foo(value = ["abc"])
class Bar