[FIR] Set vararg modifier on data class copy method parameters

This only happens in red code, but it prevents unhelpful initializer
type mismatch errors.
This commit is contained in:
Kirill Rakhman
2023-06-22 13:05:28 +02:00
committed by Space Team
parent dcb200d6d3
commit cfc824f9f2
5 changed files with 18 additions and 8 deletions
@@ -31,6 +31,6 @@ FILE: withSuppression.kt
public final operator fun component1(): R|kotlin/String|
public final fun copy(x: R|kotlin/String| = this@R|/D|.R|/D.x|): R|D|
public final fun copy(vararg x: R|kotlin/Array<out kotlin/String>| = this@R|/D|.R|/D.x|): R|D|
}