KT-18978 Intention Move to class body generates incorrect code for vararg val/var (#1188)

Intention Move to class body generates incorrect code for vararg val/var #KT-18978 Fixed
This commit is contained in:
Toshiaki Kameyama
2017-07-20 07:29:56 +09:00
committed by Vyacheslav Gerasimov
parent a59021a25e
commit fe599463ac
6 changed files with 30 additions and 0 deletions
@@ -0,0 +1,4 @@
@Target(AnnotationTarget.VALUE_PARAMETER)
annotation class ParameterAnnotation(val a: Int = 0)
class TestClass(private vararg @ParameterAnnotation(42) val <caret>words: String = arrayOf())