New J2K: Fix existing test data

This commit is contained in:
Ilya Kirillov
2019-02-03 16:42:16 +03:00
committed by Ilya Kirillov
parent 7e30b9e7f5
commit f8b8d07621
27 changed files with 546 additions and 143 deletions
@@ -0,0 +1,28 @@
internal class A {
private var l1 = 1L
private var l2: Long = 1
private val l3 = 1L
private var l4: Long = -1
private val l5 = 123456789101112
private val l6 = -123456789101112
private val l7: Long = +1
private val l8 = +1L
fun foo1(l: Long) {}
fun foo2(l: Long?) {}
fun bar() {
foo1(1)
foo1(1L)
foo2(1L)
foo1(-1)
l1 = 10
l2 = 10L
l4 = 10
}
fun foo(z: Long) {
val b1 = z == 1L
val b2 = z != 1L
}
}