Back-end: correct indexes of local variables for double and long

#KT-3033 Fixed
This commit is contained in:
Natalia.Ukhorskaya
2012-11-12 15:03:54 +04:00
parent 94fbf2bdf4
commit b5a3486131
4 changed files with 37 additions and 15 deletions
@@ -0,0 +1,10 @@
data class A(val a: Double, val b: Double)
fun box() : String {
val a = A(1.0, 1.0)
val b = a.copy()
if (b.a == 1.0 && b.b == 1.0) {
return "OK"
}
return "fail"
}