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:
committed by
Vyacheslav Gerasimov
parent
a59021a25e
commit
fe599463ac
+6
@@ -0,0 +1,6 @@
|
||||
@Target(AnnotationTarget.VALUE_PARAMETER)
|
||||
annotation class ParameterAnnotation(val a: Int = 0)
|
||||
|
||||
class TestClass(vararg @ParameterAnnotation(42) words: String = arrayOf()) {
|
||||
private val words = words
|
||||
}
|
||||
Reference in New Issue
Block a user