New J2K: Fix existing test data

This commit is contained in:
Ilya Kirillov
2019-03-26 22:32:42 +03:00
committed by Ilya Kirillov
parent 76b73542d9
commit b13f7431f2
121 changed files with 655 additions and 324 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ internal enum class EE {
}
internal class X {
fun foo(i1: I?, i2: I?, s1: String?, s2: String?, c1: C?, c2: C?, i: Int, o1: O?, o2: O?, e1: E?, e2: E?, bb1: BB?, bb2: BB?, arr1: IntArray, arr2: IntArray, ee1: EE?, ee2: EE?) {
fun foo(i1: I?, i2: I?, s1: String, s2: String, c1: C, c2: C, i: Int, o1: O, o2: O, e1: E, e2: E, bb1: BB, bb2: BB, arr1: IntArray, arr2: IntArray, ee1: EE?, ee2: EE) {
if (i1 === i2) return
if (s1 === s2) return
if (c1 == c2) return
-9
View File
@@ -1,9 +0,0 @@
internal class C {
fun foo1(s1: String?, s2: String?): Boolean {
return s1 == s2
}
fun foo2(s1: String?, s2: String?): Boolean {
return s1 != s2
}
}
-9
View File
@@ -1,9 +0,0 @@
internal class C {
fun equals(c: C?): Boolean {
return false
}
fun foo(c1: C, c2: C?): Boolean {
return c1.equals(c2)
}
}
-5
View File
@@ -1,5 +0,0 @@
internal class C {
fun foo(s1: String?, s2: String?, s3: String?, s4: String?): Boolean {
return s1 == s2 == (s3 != s4)
}
}
@@ -1,3 +1,5 @@
import java.util.Objects
internal interface I
internal class C {