Fix exception from data class codegen for light classes
EA-66827
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
data class A(val x: Int) {
|
||||
fun toArray(): IntArray =
|
||||
intArrayOf(x)
|
||||
|
||||
override fun <!RETURN_TYPE_MISMATCH_ON_OVERRIDE!>toString<!>() =
|
||||
toArray().takeWhile { it != -1 } // .joinToString()
|
||||
}
|
||||
Reference in New Issue
Block a user