Files
kotlin-fork/compiler/testData/diagnostics/tests/varargs/kt1838-param.jet
T
Andrey Breslav 789ff0b273 KT-1838 Constructor with a vararg
Resolution for properties declared as primary constructor parameters used to ignore the varargs annotation.
 #KT-1838 Fixed
2012-04-23 14:16:07 +04:00

6 lines
70 B
Plaintext

class A(vararg t : Int) {
{
val t1 : IntArray = t
}
}