diff --git a/compiler/testData/diagnostics/testsWithStdLib/inference/intersectDfiTypesBeforeCapturing.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/inference/intersectDfiTypesBeforeCapturing.fir.kt index b2f05188b74..c32fce9ce41 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/inference/intersectDfiTypesBeforeCapturing.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/inference/intersectDfiTypesBeforeCapturing.fir.kt @@ -10,7 +10,7 @@ fun test1(y: Any) { y as Map y as Map<*, *> y.forEach { (k: String, u: Any?) -> } - & kotlin.Any")!>y + ")!>y } fun test2(x: Any, y: Inv) { diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt index 2d2fa173333..2eefc1a3f02 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt @@ -166,7 +166,7 @@ class FirDiagnosticsHandler(testServices: TestServices) : FirAnalysisHandler(tes val rendered = type.renderForDebugInfo() val originalTypeRendered = originalTypeRef?.coneTypeSafe()?.renderForDebugInfo() ?: return rendered - return "$rendered & $originalTypeRendered" + return "$originalTypeRendered & $rendered" } private fun createCallDiagnosticIfExpected( diff --git a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.4.kt b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.4.kt index 584a50b6f87..b7f4e96b56f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.4.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/declarations/classifier-declaration/class-declaration/abstract-classes/p-2/pos/1.4.kt @@ -95,4 +95,4 @@ class B() : CaseOuter.CaseBase() { override fun outerFoo() { } -} \ No newline at end of file +} diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.fir.kt index cf2d070a07f..c1972ebfce1 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-conjunction-expression/p-2/neg/1.1.fir.kt @@ -41,7 +41,7 @@ fun case2() { fun case3() { val a1 = false val a2 = JavaClass.VALUE - a2 + a2 val x3 = a1 && a2 x3 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt index e67c169a61b..39970ea2b99 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/logical-disjunction-expression/p-2/neg/1.1.fir.kt @@ -41,7 +41,7 @@ fun case2() { fun case3() { val a1 = false val a2 = JavaClass.VALUE - a2 + a2 val x3 = a1 || a2 x3 diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt index 9443862fcd6..983d85c5502 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/not-null-assertion-expression/p-3/pos/1.1.fir.kt @@ -22,7 +22,7 @@ import checkSubtype // TESTCASE NUMBER: 1 fun case1() { val a = JavaClass.STR - a + a val res = a!! res } @@ -30,7 +30,7 @@ fun case1() { // TESTCASE NUMBER: 2 fun case2() { val a = JavaClass.obj - a + a val x = a!! x } diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-for-intersection-types/p-1/pos/1.3.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-for-intersection-types/p-1/pos/1.3.fir.kt index f8a3c0ac2cf..a77e14c3079 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-for-intersection-types/p-1/pos/1.3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/subtyping/subtyping-for-intersection-types/p-1/pos/1.3.fir.kt @@ -11,7 +11,7 @@ fun case1(x: Any) { checkSubtype(x) checkSubtype(x) - x // A1 & B1 & kotlin.Any + x // A1 & B1 & kotlin.Any } } @@ -26,7 +26,7 @@ fun case2(x: T) { checkSubtype(x) x //NI A2 & B2 & T & T!! OI A2 & B2 & T - x + x } } @@ -40,7 +40,7 @@ fun case3a(x: T) { checkSubtype(x) checkSubtype(x) checkSubtype(x) - x + x } } fun case3b(x: T) { @@ -50,7 +50,7 @@ fun case3b(x: T) { checkSubtype(x) checkSubtype(x) - x + x } } fun case3c(x: T) { @@ -60,7 +60,7 @@ fun case3c(x: T) { checkSubtype(x) checkSubtype(x) - x + x } } @@ -72,7 +72,7 @@ interface A3 fun case4(x: C?) { if (x is B4 && x is A4) { x - x + x x.foo() } } @@ -89,7 +89,7 @@ class C : A4, B4 { fun case5(x: T) { if (x is B5 && x is A5) { x - x + x } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/1.fir.kt index 51c1b9ece1b..de341abcac6 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/1.fir.kt @@ -379,16 +379,16 @@ fun case_23(a: ((Float) -> Int?)?, b: Float?) { if (a != null !is Boolean && b !== null is Boolean) { val x = a(b) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -423,16 +423,16 @@ fun case_25(b: Boolean) { val z = ?")!>y() if (z != null !== false) { - & ?")!>z.a - & ?")!>z.a.equals(null) - & ?")!>z.a.propT - & ?")!>z.a.propAny - & ?")!>z.a.propNullableT - & ?")!>z.a.propNullableAny - & ?")!>z.a.funT() - & ?")!>z.a.funAny() - & ?")!>z.a.funNullableT() - & ?")!>z.a.funNullableAny() + ? & ")!>z.a + ? & ")!>z.a.equals(null) + ? & ")!>z.a.propT + ? & ")!>z.a.propAny + ? & ")!>z.a.propNullableT + ? & ")!>z.a.propNullableAny + ? & ")!>z.a.funT() + ? & ")!>z.a.funAny() + ? & ")!>z.a.funNullableT() + ? & ")!>z.a.funNullableAny() } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/10.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/10.fir.kt index 0cd6498ffd3..dc9d5286641 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/10.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/10.fir.kt @@ -12,6 +12,6 @@ fun case_1() { x = ClassLevel3() } - x - x.inv() + x + x.inv() } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/11.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/11.fir.kt index 50ea24660e2..7a9e67c7ab5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/11.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/11.fir.kt @@ -6,8 +6,8 @@ fun case_1() { var x: Boolean? = true if (x is Boolean && if (true) { x = null; true } else { false }) { - x - x.not() + x + x.not() } } @@ -15,8 +15,8 @@ fun case_1() { fun case_2() { var x: Boolean? = true if (x != null && try { x = null; true } catch (e: Exception) { false }) { - x - x.not() + x + x.not() } } @@ -47,8 +47,8 @@ fun case_4() { fun case_5() { var x: Int? = null if (x == try { x = 10; null } finally {} && x != null) { - x - x.inv() + x + x.inv() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/13.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/13.fir.kt index 48f60a6a8c8..16525fa04cf 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/13.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/13.fir.kt @@ -5,9 +5,9 @@ // TESTCASE NUMBER: 1 fun case_1(x: Class?) { x!! - x[if (true) {x=null;0} else 0] += x[0] - x - x[0].inv() + x[if (true) {x=null;0} else 0] += x[0] + x + x[0].inv() } // TESTCASE NUMBER: 2 @@ -23,7 +23,7 @@ fun case_2() { fun case_3() { var x: Class? = Class() x!! - val y = x[if (true) {x=null;0} else 0, x[0]] + val y = x[if (true) {x=null;0} else 0, x[0]] x x.fun_1() } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/15.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/15.fir.kt index 83f18f2d875..c64857f04cc 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/15.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/15.fir.kt @@ -10,8 +10,8 @@ fun case_1() { var x: Boolean? = true if (x is Boolean && if (true) { x = null; true } else { false }) { - x - x.not() + x + x.not() } } @@ -23,8 +23,8 @@ fun case_1() { fun case_2() { var x: Boolean? = true if (x !== null && try { x = null; true } catch (e: Exception) { false }) { - x - x.not() + x + x.not() } } @@ -50,8 +50,8 @@ fun case_3() { fun case_4() { var x: Int? = null if (x == try { x = 10; null } finally {} && x != null) { - x - x.inv() + x + x.inv() println(1) } } @@ -76,7 +76,7 @@ fun case_5() { fun case_6() { var x: Boolean? = true if (x != null) { - if (true) {x = null; true} else true && x.not() + if (true) {x = null; true} else true && x.not() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/16.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/16.fir.kt index 532a51a30e5..a2221158e07 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/16.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/16.fir.kt @@ -100,7 +100,7 @@ fun case_8(x: ClassWithCustomEquals, y: Nothing?) { */ fun case_9(x: ClassWithCustomEquals?, y: Interface1) { if (x == y) { - x - x.itest1() + x + x.itest1() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/17.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/17.fir.kt index a45f4ec3d58..8a04e1124d6 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/17.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/17.fir.kt @@ -9,8 +9,8 @@ fun case_1(x: Any) { if (x is Interface1) { if (x is Interface2) { - x - x.itest00() + x + x.itest00() } } } @@ -22,8 +22,8 @@ fun case_1(x: Any) { fun case_2(x: Any) { if (x is Interface2) { if (x is Interface1) { - x - x.itest00000() + x + x.itest00000() } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/18.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/18.fir.kt index 5734223bf9f..3131236c2e5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/18.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/18.fir.kt @@ -10,7 +10,7 @@ fun case_1(x: Interface1?) { var y = x y as Interface2 val foo = { - y.itest2() + y.itest2() } y = null foo() @@ -24,7 +24,7 @@ fun case_2(x: Interface1?) { var y = x y as Interface2 val foo = fun () { - y.itest2() + y.itest2() } y = null foo() @@ -38,7 +38,7 @@ fun case_3(x: Interface1?) { var y = x y as Interface2 fun foo() { - y.itest2() + y.itest2() } y = null foo() diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/19.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/19.fir.kt index 29281311324..9cf9800100c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/19.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/19.fir.kt @@ -62,8 +62,8 @@ fun case_4(x: Boolean?) { } while (x!!) } while (true) - x - x.not() + x + x.not() } // TESTCASE NUMBER: 5 @@ -74,8 +74,8 @@ fun case_5(x: Boolean?) { } while (x!!) } while (true) - x - x.not() + x + x.not() } // TESTCASE NUMBER: 6 @@ -86,8 +86,8 @@ fun case_6(x: Boolean?) { } while (true) } while (x!!) - x - x.not() + x + x.not() } // TESTCASE NUMBER: 7 @@ -127,8 +127,8 @@ fun case_9(x: Boolean?) { } } - x - x.not() + x + x.not() } /* @@ -205,8 +205,8 @@ fun case_16(x: Boolean?) { break } while (x!!) - x - x.not() + x + x.not() } /* @@ -344,8 +344,8 @@ fun case_26(x: Boolean?) { } } - x - x.not() + x + x.not() } /* @@ -358,8 +358,8 @@ fun case_27(x: Int?, y: Class) { y[break, x!!] } - x - x.inv() + x + x.inv() } /* @@ -372,6 +372,6 @@ fun case_28(x: Int?, y: List>) { y[break][x!!] } - x - x.inv() + x + x.inv() } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/2.fir.kt index 190cca95eb0..f1f736785a8 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/2.fir.kt @@ -5,87 +5,87 @@ // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x is Nothing) { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 2 fun case_2(x: Any) { if (x is Nothing) { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 3 fun case_3(x: Any?) { if (x !is Nothing) else { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 4 fun case_4(x: Any) { if (x !is Nothing) else { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 5 fun case_5(x: Any?) { if (!(x !is Nothing?)) { - x - x?.inv() + x + x?.inv() } } // TESTCASE NUMBER: 6 fun case_6(x: Any?) { if (!(x !is Nothing)) { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 7 fun case_7(x: Any) { if (!(x is Nothing)) else { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 8 fun case_8(x: Any?) { if (!(x is Nothing?)) else { - x - x?.inv() + x + x?.inv() } } // TESTCASE NUMBER: 9 fun case_9(x: Any?) { if (!!(x !is Nothing?)) else { - x - x?.inv() + x + x?.inv() } } // TESTCASE NUMBER: 10 fun case_10(x: Any?) { if (!!(x !is Nothing)) else { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 11 fun case_11(x: Any?) { if (x is Nothing?) { - x - x?.inv() + x + x?.inv() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/20.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/20.fir.kt index 44ea11ab5d3..27c1f8c659a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/20.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/20.fir.kt @@ -62,8 +62,8 @@ fun case_4(x: Boolean?) { } while (x as Boolean) } while (true) - x - x.not() + x + x.not() } // TESTCASE NUMBER: 5 @@ -74,8 +74,8 @@ fun case_5(x: Boolean?) { } while (x as Boolean) } while (true) - x - x.not() + x + x.not() } // TESTCASE NUMBER: 6 @@ -86,8 +86,8 @@ fun case_6(x: Boolean?) { } while (true) } while (x as Boolean) - x - x.not() + x + x.not() } // TESTCASE NUMBER: 7 @@ -127,8 +127,8 @@ fun case_9(x: Boolean?) { } } - x - x.not() + x + x.not() } /* @@ -205,8 +205,8 @@ fun case_16(x: Boolean?) { break } while (x as Boolean) - x - x.not() + x + x.not() } /* @@ -344,8 +344,8 @@ fun case_26(x: Boolean?) { } } - x - x.not() + x + x.not() } /* @@ -358,8 +358,8 @@ fun case_27(x: Int?, y: Class) { y[break, x as Int] } - x - x.inv() + x + x.inv() } /* @@ -372,8 +372,8 @@ fun case_28(x: Int?, y: List>) { y[break][x as Int] } - x - x.inv() + x + x.inv() } /* @@ -387,6 +387,6 @@ fun case_29(x: Boolean?, y: MutableList) { x!! } - x - x.not() + x + x.not() } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/22.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/22.fir.kt index 71d43d415ad..24c983e97d2 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/22.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/22.fir.kt @@ -69,8 +69,8 @@ fun case_5(x: Boolean?, y: Boolean?) { x!! } - x - x.not() + x + x.not() } // TESTCASE NUMBER: 6 @@ -80,8 +80,8 @@ fun case_6(x: Boolean?, y: ((x: Nothing) -> Unit)?) { x!! } - x - x.not() + x + x.not() } // TESTCASE NUMBER: 7 @@ -121,8 +121,8 @@ fun case_9(x: Int?) { y = break as Int + x!! } - x - x.inv() + x + x.inv() } /* @@ -136,8 +136,8 @@ fun case_10(x: Int?) { break as Int + x as Int } while (true) - x - x.inv() + x + x.inv() } /* @@ -153,8 +153,8 @@ fun case_11(x: Int?) { break(x!!) } - x - x.inv() + x + x.inv() } /* @@ -170,8 +170,8 @@ fun case_12(x: Int?) { break[x!!] } - x - x.inv() + x + x.inv() } /* @@ -187,8 +187,8 @@ fun case_13(x: Int?) { break[x!!] = 10 } - x - x.inv() + x + x.inv() } /* @@ -204,8 +204,8 @@ fun case_14(x: Int?) { break[10] = x!! } - x - x.inv() + x + x.inv() } // TESTCASE NUMBER: 15 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/23.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/23.fir.kt index 19ec9118af8..824509b6e92 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/23.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/23.fir.kt @@ -8,8 +8,8 @@ */ inline fun case_1(x: T) { if (x is K) { - x - x.equals(x) + x + x.equals(x) } } @@ -19,8 +19,8 @@ inline fun case_1(x: T) { */ inline fun case_2(x: T) { x as K - x - x.equals(x) + x + x.equals(x) } /* @@ -31,8 +31,8 @@ inline fun case_3() { var x: T? = 10 as T x = null if (x is K) { - x.equals(10) - x + x.equals(10) + x println(1) } } @@ -40,16 +40,16 @@ inline fun case_3() { // TESTCASE NUMBER: 4 inline fun case_4(x: T?) { if (x is K) { - x - x.equals(x) + x + x.equals(x) } } // TESTCASE NUMBER: 5 inline fun case_5(x: T) { if (x is K?) { - x - x.equals(x) + x + x.equals(x) } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/25.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/25.fir.kt index f87df30ef9f..07953b467f5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/25.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/25.fir.kt @@ -17,8 +17,8 @@ fun case_1() { val x: ClassWithEqualsOverride? = null val y = ClassWithEqualsOverride() if (y == x) { - x - x.fun_1() + x + x.fun_1() } } @@ -32,8 +32,8 @@ fun case_2() { val y: ClassWithEqualsOverride? = ClassWithEqualsOverride() if (y != null) { if (y == x) { - x - x.fun_1() + x + x.fun_1() } } } @@ -47,7 +47,7 @@ fun case_3() { val x: ClassWithEqualsOverride? = null val y: ClassWithEqualsOverride? = ClassWithEqualsOverride() if (y!! == x) { - x - x.fun_1() + x + x.fun_1() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/26.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/26.fir.kt index 4da5f9b1b57..54118ea35c6 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/26.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/26.fir.kt @@ -10,7 +10,7 @@ fun case_1() { var x: MutableList? = mutableListOf(1) x!! - & kotlin.collections.MutableList?")!>x[if (true) {x=null;0} else 0] += ? & kotlin.collections.MutableList?")!>x[0] + ? & kotlin.collections.MutableList")!>x[if (true) {x=null;0} else 0] += ? & kotlin.collections.MutableList?")!>x[0] ? & kotlin.collections.MutableList?")!>x ? & kotlin.collections.MutableList?")!>x[0].inv() } @@ -19,7 +19,7 @@ fun case_1() { fun case_2() { var x: MutableList? = mutableListOf(1) x!! - & kotlin.collections.MutableList?")!>x[if (true) {x=null;0} else 0] = ? & kotlin.collections.MutableList?")!>x[0] + ? & kotlin.collections.MutableList")!>x[if (true) {x=null;0} else 0] = ? & kotlin.collections.MutableList?")!>x[0] ? & kotlin.collections.MutableList?")!>x ? & kotlin.collections.MutableList?")!>x[0].inv() } @@ -28,7 +28,7 @@ fun case_2() { fun case_3() { var x: MutableList? = mutableListOf(1) x!! - & kotlin.collections.MutableList?")!>x[0] = if (true) {x=null;0} else 0 + ? & kotlin.collections.MutableList")!>x[0] = if (true) {x=null;0} else 0 ? & kotlin.collections.MutableList?")!>x ? & kotlin.collections.MutableList?")!>x[0].inv() } @@ -41,7 +41,7 @@ fun case_3() { fun case_4() { var x: Class? = Class() x!! - val y = x[if (true) {x=null;0} else 0, x[0]] + val y = x[if (true) {x=null;0} else 0, x[0]] x x[0].inv() } @@ -62,7 +62,7 @@ fun case_5() { fun case_6() { var x: MutableList>? = mutableListOf(mutableListOf(1)) x!! - > & kotlin.collections.MutableList>?")!>x[if (true) {x=null;0} else 0][>? & kotlin.collections.MutableList>?")!>x[0][0]] += 10 + >? & kotlin.collections.MutableList>")!>x[if (true) {x=null;0} else 0][>? & kotlin.collections.MutableList>?")!>x[0][0]] += 10 >? & kotlin.collections.MutableList>?")!>x >? & kotlin.collections.MutableList>?")!>x[0][0].inv() } @@ -83,14 +83,14 @@ fun case_7() { fun case_8() { var x: MutableList>? = mutableListOf(mutableListOf(1)) x!! - > & kotlin.collections.MutableList>?")!>x[if (true) {x=null;0} else 0].addAll(1, >? & kotlin.collections.MutableList>?")!>x[0]) + >? & kotlin.collections.MutableList>")!>x[if (true) {x=null;0} else 0].addAll(1, >? & kotlin.collections.MutableList>?")!>x[0]) } // TESTCASE NUMBER: 9 fun case_9() { var x: MutableList>? = mutableListOf(mutableListOf(1)) x!! - > & kotlin.collections.MutableList>?")!>x[if (true) {x=null;0} else 0].subList(0, 2)[>? & kotlin.collections.MutableList>?")!>x[0][0]] + >? & kotlin.collections.MutableList>")!>x[if (true) {x=null;0} else 0].subList(0, 2)[>? & kotlin.collections.MutableList>?")!>x[0][0]] } /* @@ -101,7 +101,7 @@ fun case_9() { fun case_10() { var x: MutableList>? = mutableListOf(mutableListOf(1)) x!! - > & kotlin.collections.MutableList>?")!>x.subList(if (true) {x=null;0} else 0, 2)[>? & kotlin.collections.MutableList>?")!>x[0][0]] + >? & kotlin.collections.MutableList>")!>x.subList(if (true) {x=null;0} else 0, 2)[>? & kotlin.collections.MutableList>?")!>x[0][0]] } /* @@ -112,5 +112,5 @@ fun case_10() { fun case_11() { var x: MutableList>? = mutableListOf(mutableListOf(1)) x!! - > & kotlin.collections.MutableList>?")!>x[if (true) {x=null;0} else 0].subList(>? & kotlin.collections.MutableList>?")!>x[0][0], 2) + >? & kotlin.collections.MutableList>")!>x[if (true) {x=null;0} else 0].subList(>? & kotlin.collections.MutableList>?")!>x[0][0], 2) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/27.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/27.fir.kt index 4f19703d7e7..8fc1dc6a2e8 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/27.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/27.fir.kt @@ -24,8 +24,8 @@ fun case_2(x: Boolean?, y: Int?) { x!! } - x - x.not() + x + x.not() } // TESTCASE NUMBER: 3 @@ -93,8 +93,8 @@ fun case_7(x: Boolean?, y: Boolean?) { x!! } - x - x.not() + x + x.not() } // TESTCASE NUMBER: 8 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/28.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/28.fir.kt index 788f77ff66f..6b73e404062 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/28.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/28.fir.kt @@ -5,7 +5,7 @@ // TESTCASE NUMBER: 1 fun > Inv.case_1() { if (this is MutableList<*>) { - & Inv & Inv")!>this - & Inv & Inv")!>this[0] = & Inv & Inv")!>this[1] + & kotlin.collections.MutableList<*> & Inv")!>this + & kotlin.collections.MutableList<*> & Inv")!>this[0] = & kotlin.collections.MutableList<*> & Inv")!>this[1] } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/3.fir.kt index f75d37beeb3..3a0a0ca8a49 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/3.fir.kt @@ -5,8 +5,8 @@ // TESTCASE NUMBER: 1 fun case_1(x: Nothing?) { if (x is Int) { - x - x.inv() + x + x.inv() } } @@ -21,8 +21,8 @@ fun case_2(x: Nothing) { // TESTCASE NUMBER: 3 fun case_3(x: Nothing?) { if (x !is Class) else { - x - x.prop_1 + x + x.prop_1 } } @@ -45,8 +45,8 @@ fun case_5(x: Nothing?) { // TESTCASE NUMBER: 6 fun case_6(x: Nothing?) { if (!(x !is Object)) { - x - x.prop_1 + x + x.prop_1 } } @@ -77,9 +77,9 @@ fun case_9(x: Nothing?) { // TESTCASE NUMBER: 10 fun case_10(x: Nothing?) { if (!!(x !is Interface3)) else { - x - x.itest() - x.itest3() + x + x.itest() + x.itest3() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/31.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/31.fir.kt index c43ed9e5002..b8e6634377c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/31.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/31.fir.kt @@ -8,5 +8,5 @@ fun case_1(x: Interface2) = x fun case_1() { val x: Interface1 = null as Interface1 x as Interface2 - case_1(x) + case_1(x) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.fir.kt index d9ef014fb22..68b7a915f63 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.fir.kt @@ -13,7 +13,7 @@ fun stringArg(number: String) {} fun case_1(x: Int?) { if (x == null) { stringArg(x!!) - x + x } } @@ -25,7 +25,7 @@ fun case_1(x: Int?) { fun case_2(x: Int?, y: Nothing?) { if (x == y) { stringArg(x!!) - x + x } } @@ -37,8 +37,8 @@ fun case_2(x: Int?, y: Nothing?) { fun case_3(x: Int?) { if (x == null) { x as Int - stringArg(x) - x + stringArg(x) + x } } @@ -50,8 +50,8 @@ fun case_3(x: Int?) { fun case_4(x: Int?) { if (x == null) { x!! - stringArg(x) - x + stringArg(x) + x } } @@ -64,7 +64,7 @@ fun case_5(x: Int?) { if (x == null) { var y = x y!! - stringArg(y) - y + stringArg(y) + y } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/34.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/34.fir.kt index eb64aabd76c..82010624f7a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/34.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/34.fir.kt @@ -51,8 +51,8 @@ fun case_4() { fun case_5() { var x: Boolean? = true while (true && x!!) { - x - x.not() + x + x.not() x = null break } @@ -106,8 +106,8 @@ fun case_9() { x = null break } while (x!!.length > 1) - x - x.length + x + x.length } // TESTCASE NUMBER: 10 @@ -117,8 +117,8 @@ fun case_10() { x = null break } while ((x as String).length > 1) - x - x.length + x + x.length } // TESTCASE NUMBER: 11 @@ -128,8 +128,8 @@ fun case_11() { x = null break } while (x!!) - x - x.not() + x + x.not() } // TESTCASE NUMBER: 12 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/37.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/37.fir.kt index 14cb2e392c8..c8976901980 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/37.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/37.fir.kt @@ -10,7 +10,7 @@ fun case_1() { var x: Class? = Class() if (x != null) { - x + x x++ x x.equals(10) @@ -25,7 +25,7 @@ fun case_1() { fun case_2() { var x: Class? x = Class() - x + x x-- x x.equals(10) @@ -39,7 +39,7 @@ fun case_2() { fun case_3() { var x: Class? = Class() x!! - x + x --x x x.equals(10) @@ -53,7 +53,7 @@ fun case_3() { fun case_4() { var x: Class? = Class() x as Class - x + x ++x x x.equals(10) @@ -63,7 +63,7 @@ fun case_4() { fun case_5() { var x: Class? = Class() x as Class - x + x x = x + x x x.equals(10) @@ -73,7 +73,7 @@ fun case_5() { fun case_6() { var x: Class? = Class() if (x is Class) { - x + x x = x - x x x.equals(10) @@ -88,7 +88,7 @@ fun case_6() { fun case_7() { var x: Class? x = Class() - x + x x += x x x.equals(10) @@ -102,7 +102,7 @@ fun case_7() { fun case_8() { var x: Class? = Class() x!! - x + x x -= x x x.equals(10) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/39.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/39.fir.kt index f994dc91d35..56737b0323d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/39.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/39.fir.kt @@ -162,6 +162,6 @@ fun case_13() { while (true) { val z = y * if (x != null) break else 10 } - x - x.inv() + x + x.inv() } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/41.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/41.fir.kt index d2fa24869ce..838fdb7b345 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/41.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/41.fir.kt @@ -6,30 +6,30 @@ inline fun case_1(x: Any?) { when (x) { is T -> { - x - x.equals(10) + x + x.equals(10) } else -> return } - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 2 inline fun case_2(x: Any?) { when (x) { is Any -> { - x - x.equals(10) + x + x.equals(10) } is T -> { - x - x.equals(10) + x + x.equals(10) } else -> return } - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 3 @@ -61,11 +61,11 @@ inline fun case_4(x: Any?) { // TESTCASE NUMBER: 5 inline fun case_5(x: Any?) { if (x is T) { - x - x.equals(10) + x + x.equals(10) } else return - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 6 @@ -78,12 +78,12 @@ inline fun case_6(x: Any?) { // TESTCASE NUMBER: 7 inline fun case_7(x: Any?) { if (x is Any) { - x - x.equals(10) + x + x.equals(10) } else if (x is T) { - x - x.equals(10) + x + x.equals(10) } else return - x - x.equals(10) + x + x.equals(10) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/42.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/42.fir.kt index 9f0ec94f07c..7b5dbfaf037 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/42.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/42.fir.kt @@ -8,8 +8,8 @@ */ fun case_1(x: Any) { if (x is Int || x is Float) { - & kotlin.Any")!>x - & kotlin.Any")!>x.toByte() + ")!>x + ")!>x.toByte() } } @@ -19,8 +19,8 @@ fun case_1(x: Any) { */ fun case_2(x: Any?) { if (x is Int || x is Float?) { - ? & kotlin.Any?")!>x - ? & kotlin.Any?")!>x.toByte() + ?")!>x + ?")!>x.toByte() } } @@ -30,8 +30,8 @@ fun case_2(x: Any?) { */ fun case_3(x: Any?) { if (x is Int? || x is Float) { - ? & kotlin.Any?")!>x - ? & kotlin.Any?")!>x.toByte() + ?")!>x + ?")!>x.toByte() } } @@ -41,8 +41,8 @@ fun case_3(x: Any?) { */ fun case_4(x: Any?) { if (x is Int? || x is Float?) { - ? & kotlin.Any?")!>x - ? & kotlin.Any?")!>x?.toByte() + ?")!>x + ?")!>x?.toByte() } } @@ -52,8 +52,8 @@ fun case_4(x: Any?) { */ fun case_5(x: Any?) { if (x is Int || x is Float) { - & kotlin.Any?")!>x - & kotlin.Any?")!>x.toByte() + ")!>x + ")!>x.toByte() } } @@ -63,8 +63,8 @@ fun case_5(x: Any?) { */ fun case_6(x: T) { if (x is Int || x is Float) { - & T!! & T")!>x - & T!! & T")!>x.toByte() + & T!!")!>x + & T!!")!>x.toByte() } } @@ -74,8 +74,8 @@ fun case_6(x: T) { */ fun case_7(x: T) { if (x is Int? || x is Float?) { - ? & T & T")!>x - ? & T & T")!>x.toByte() + ? & T")!>x + ? & T")!>x.toByte() } } @@ -85,8 +85,8 @@ fun case_7(x: T) { */ inline fun case_8(x: T) { if (x is Int? || x is Float?) { - ? & T & T")!>x - ? & T & T")!>x.toByte() + ? & T")!>x + ? & T")!>x.toByte() } } @@ -96,8 +96,8 @@ inline fun case_8(x: T) { */ inline fun case_9(x: T) { if (x is Int? || x is Float?) { - & T & T")!>x - & T & T")!>x.toByte() + & T")!>x + & T")!>x.toByte() } } @@ -107,8 +107,8 @@ inline fun case_9(x: T) { */ inline fun case_10(x: T) { if (x is ClassLevel2 || x is ClassLevel21 || x is ClassLevel22 || x is ClassLevel23) { - x - x.test1() + x + x.test1() } } @@ -118,8 +118,8 @@ inline fun case_10(x: T) { */ inline fun case_11(x: T) { if (x !is ClassLevel2 && x !is ClassLevel21 && x !is ClassLevel22 && x !is ClassLevel23) return - x - x.test1() + x + x.test1() } /* @@ -128,8 +128,8 @@ inline fun case_11(x: T) { */ fun case_12(x: Any) { if (x !is Int && x !is Float) return - & kotlin.Any")!>x - & kotlin.Any")!>x.toByte() + ")!>x + ")!>x.toByte() } /* @@ -138,8 +138,8 @@ fun case_12(x: Any) { */ fun case_13(x: T) { if (x !is Int && x !is Float) throw Exception() - & T!! & T")!>x - & T!! & T")!>x.toByte() + & T!!")!>x + & T!!")!>x.toByte() } /* @@ -149,11 +149,11 @@ fun case_13(x: T) { fun case_14(x: Any) { if (x is Int || x is Float) { if (x is Float) { - x - x.NaN + x + x.NaN } else { - & kotlin.Any")!>x - & kotlin.Any")!>x.inv() + ")!>x + ")!>x.inv() } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/5.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/5.fir.kt index 831a7ddcdec..4ebf1b2ea41 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/5.fir.kt @@ -6,8 +6,8 @@ class Case1 { inline fun case_1(x: Any?) { if (x is T) { - x - x.toByte() + x + x.toByte() } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/8.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/8.fir.kt index 487cce29809..0ffda3f9cbf 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/8.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/8.fir.kt @@ -5,29 +5,29 @@ // TESTCASE NUMBER: 1 fun case_1(x: Class?) { if (x?.fun_4()?.fun_4()?.fun_4()?.fun_4() != null) { - x - x.fun_4() - x.fun_4().fun_4() - x.fun_4().fun_4().fun_4() - x.fun_4().fun_4().fun_4().fun_4() + x + x.fun_4() + x.fun_4().fun_4() + x.fun_4().fun_4().fun_4() + x.fun_4().fun_4().fun_4().fun_4() } } // TESTCASE NUMBER: 2 fun case_2(x: Class?) { if (x?.fun_4()?.prop_8 != null) { - x - x.fun_4() - x.fun_4().prop_8 + x + x.fun_4() + x.fun_4().prop_8 } } // TESTCASE NUMBER: 3 fun case_3(x: Class?) { if (x?.prop_8?.fun_4() != null) { - x - x.prop_8 - x.prop_8.fun_4().prop_8 + x + x.prop_8 + x.prop_8.fun_4().prop_8 } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/9.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/9.fir.kt index 1ef6103365a..30061b6d5fa 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/9.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/9.fir.kt @@ -6,9 +6,9 @@ fun case_1(x: T?, y: K?) { x as T y as K - val z = x ?: y + val z = x ?: y - x.equals(10) + x.equals(10) z z.equals(10) } @@ -17,6 +17,6 @@ fun case_1(x: T?, y: K?) { inline fun case_2(y: K?) { y as K - y - y.equals(10) + y + y.equals(10) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/1.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/1.fir.kt index cf64e0234b7..7acc5f215f0 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/1.fir.kt @@ -28,16 +28,16 @@ import otherpackage.* // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -48,8 +48,8 @@ fun case_1(x: Any?) { */ fun case_2(x: Nothing?) { if (x !== null) { - x - x.hashCode() + x + x.hashCode() } } @@ -73,16 +73,16 @@ fun case_3() { // TESTCASE NUMBER: 4 fun case_4(x: Char?) { if (x != null && true) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -90,16 +90,16 @@ fun case_4(x: Char?) { fun case_5() { val x: Unit? = null - if (x !== null) x - if (x !== null) x.equals(null) - if (x !== null) x.propT - if (x !== null) x.propAny - if (x !== null) x.propNullableT - if (x !== null) x.propNullableAny - if (x !== null) x.funT() - if (x !== null) x.funAny() - if (x !== null) x.funNullableT() - if (x !== null) x.funNullableAny() + if (x !== null) x + if (x !== null) x.equals(null) + if (x !== null) x.propT + if (x !== null) x.propAny + if (x !== null) x.propNullableT + if (x !== null) x.propNullableAny + if (x !== null) x.funT() + if (x !== null) x.funAny() + if (x !== null) x.funNullableT() + if (x !== null) x.funNullableAny() } // TESTCASE NUMBER: 6 @@ -107,47 +107,47 @@ fun case_6(x: EmptyClass?) { val y = true if (x != null && !y) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } // TESTCASE NUMBER: 7 fun case_7() { if (nullableNumberProperty != null || nullableNumberProperty != null) { - nullableNumberProperty - nullableNumberProperty.equals(null) - nullableNumberProperty.propT - nullableNumberProperty.propAny - nullableNumberProperty.propNullableT - nullableNumberProperty.propNullableAny - nullableNumberProperty.funT() - nullableNumberProperty.funAny() - nullableNumberProperty.funNullableT() - nullableNumberProperty.funNullableAny() + nullableNumberProperty + nullableNumberProperty.equals(null) + nullableNumberProperty.propT + nullableNumberProperty.propAny + nullableNumberProperty.propNullableT + nullableNumberProperty.propNullableAny + nullableNumberProperty.funT() + nullableNumberProperty.funAny() + nullableNumberProperty.funNullableT() + nullableNumberProperty.funNullableAny() } } // TESTCASE NUMBER: 8 fun case_8(x: TypealiasNullableString) { - if (x !== null && x != null) x - if (x !== null && x != null) x.equals(null) - if (x !== null && x != null) x.propT - if (x !== null && x != null) x.propAny - if (x !== null && x != null) x.propNullableT - if (x !== null && x != null) x.propNullableAny - if (x !== null && x != null) x.funT() - if (x !== null && x != null) x.funAny() - if (x !== null && x != null) x.funNullableT() - if (x !== null && x != null) x.funNullableAny() + if (x !== null && x != null) x + if (x !== null && x != null) x.equals(null) + if (x !== null && x != null) x.propT + if (x !== null && x != null) x.propAny + if (x !== null && x != null) x.propNullableT + if (x !== null && x != null) x.propNullableAny + if (x !== null && x != null) x.funT() + if (x !== null && x != null) x.funAny() + if (x !== null && x != null) x.funNullableT() + if (x !== null && x != null) x.funNullableAny() } // TESTCASE NUMBER: 9 @@ -155,16 +155,16 @@ fun case_9(x: TypealiasNullableString?) { if (x === null) { } else if (false) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -198,16 +198,16 @@ fun case_11(x: TypealiasNullableStringIndirect?, y: TypealiasNullableStringIndir if (y != null) { if (nullableStringProperty == null) { if (t != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -217,16 +217,16 @@ fun case_11(x: TypealiasNullableStringIndirect?, y: TypealiasNullableStringIndir // TESTCASE NUMBER: 12 fun case_12(x: TypealiasNullableStringIndirect, y: TypealiasNullableStringIndirect) = if (x == null) "1" - else if (y === null) x - else if (y === null) x.equals(null) - else if (y === null) x.propT - else if (y === null) x.propAny - else if (y === null) x.propNullableT - else if (y === null) x.propNullableAny - else if (y === null) x.funT() - else if (y === null) x.funAny() - else if (y === null) x.funNullableT() - else if (y === null) x.funNullableAny() + else if (y === null) x + else if (y === null) x.equals(null) + else if (y === null) x.propT + else if (y === null) x.propAny + else if (y === null) x.propNullableT + else if (y === null) x.propNullableAny + else if (y === null) x.funT() + else if (y === null) x.funAny() + else if (y === null) x.funNullableT() + else if (y === null) x.funNullableAny() else "-1" // TESTCASE NUMBER: 13 @@ -234,16 +234,16 @@ fun case_13(x: otherpackage.Case13?) = if (x == null) { throw Exception() } else { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 14 @@ -322,37 +322,37 @@ fun case_16() { val x: TypealiasNullableNothing = null if (x != null) { - x + x } } // TESTCASE NUMBER: 17 val case_17 = if (nullableIntProperty == null) 0 else { - nullableIntProperty - nullableIntProperty.equals(null) - nullableIntProperty.propT - nullableIntProperty.propAny - nullableIntProperty.propNullableT - nullableIntProperty.propNullableAny - nullableIntProperty.funT() - nullableIntProperty.funAny() - nullableIntProperty.funNullableT() - nullableIntProperty.funNullableAny() + nullableIntProperty + nullableIntProperty.equals(null) + nullableIntProperty.propT + nullableIntProperty.propAny + nullableIntProperty.propNullableT + nullableIntProperty.propNullableAny + nullableIntProperty.funT() + nullableIntProperty.funAny() + nullableIntProperty.funNullableT() + nullableIntProperty.funNullableAny() } //TESTCASE NUMBER: 18 fun case_18(a: DeepObject.A.B.C.D.E.F.G.J?) { if (a != null) { - a - a.equals(null) - a.propT - a.propAny - a.propNullableT - a.propNullableAny - a.funT() - a.funAny() - a.funNullableT() - a.funNullableAny() + a + a.equals(null) + a.propT + a.propAny + a.propNullableT + a.propNullableAny + a.funT() + a.funAny() + a.funNullableT() + a.funNullableAny() } } @@ -451,18 +451,18 @@ fun case_22(a: (() -> Unit)?) { // TESTCASE NUMBER: 23 fun case_23(a: ((Float) -> Int?)?, b: Float?) { if (a != null && b !== null) { - val x = a(b) + val x = a(b) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -470,17 +470,17 @@ fun case_23(a: ((Float) -> Int?)?, b: Float?) { // TESTCASE NUMBER: 24 fun case_24(a: ((() -> Unit) -> Unit)?, b: (() -> Unit)?) = if (a !== null && b !== null) { - a( & kotlin.Function0?")!>b) + a(? & kotlin.Function0")!>b) a(b) - & kotlin.Function0?")!>b.equals(null) - & kotlin.Function0?")!>b.propT - & kotlin.Function0?")!>b.propAny - & kotlin.Function0?")!>b.propNullableT - & kotlin.Function0?")!>b.propNullableAny - & kotlin.Function0?")!>b.funT() - & kotlin.Function0?")!>b.funAny() - & kotlin.Function0?")!>b.funNullableT() - & kotlin.Function0?")!>b.funNullableAny() + ? & kotlin.Function0")!>b.equals(null) + ? & kotlin.Function0")!>b.propT + ? & kotlin.Function0")!>b.propAny + ? & kotlin.Function0")!>b.propNullableT + ? & kotlin.Function0")!>b.propNullableAny + ? & kotlin.Function0")!>b.funT() + ? & kotlin.Function0")!>b.funAny() + ? & kotlin.Function0")!>b.funNullableT() + ? & kotlin.Function0")!>b.funNullableAny() } else null // TESTCASE NUMBER: 25 @@ -497,16 +497,16 @@ fun case_25(b: Boolean) { val z = ?")!>y() if (z != null) { - & ?")!>z.a - & ?")!>z.a.equals(null) - & ?")!>z.a.propT - & ?")!>z.a.propAny - & ?")!>z.a.propNullableT - & ?")!>z.a.propNullableAny - & ?")!>z.a.funT() - & ?")!>z.a.funAny() - & ?")!>z.a.funNullableT() - & ?")!>z.a.funNullableAny() + ? & ")!>z.a + ? & ")!>z.a.equals(null) + ? & ")!>z.a.propT + ? & ")!>z.a.propAny + ? & ")!>z.a.propNullableT + ? & ")!>z.a.propNullableAny + ? & ")!>z.a.funT() + ? & ")!>z.a.funAny() + ? & ")!>z.a.funNullableT() + ? & ")!>z.a.funNullableAny() } } } @@ -514,18 +514,18 @@ fun case_25(b: Boolean) { // TESTCASE NUMBER: 26 fun case_26(a: ((Float) -> Int?)?, b: Float?) { if (a != null == true && b != null == true) { - val x = a(b) + val x = a(b) if (x != null == true) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -550,16 +550,16 @@ fun case_27() { //TESTCASE NUMBER: 28 fun case_28(a: DeepObject.A.B.C.D.E.F.G.J?) = if (a != null == true == false == false == false == true == false == true == false == false == true == true) { - a.x - a.equals(null) - a.propT - a.propAny - a.propNullableT - a.propNullableAny - a.funT() - a.funAny() - a.funNullableT() - a.funNullableAny() + a.x + a.equals(null) + a.propT + a.propAny + a.propNullableT + a.propNullableAny + a.funT() + a.funAny() + a.funNullableT() + a.funNullableAny() } else -1 // TESTCASE NUMBER: 29 @@ -574,35 +574,35 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: val t: String? = if (u != null) this.u else null init { - if (a != null) a.equals(null) - if (a != null) a.propT - if (a != null) a.propAny - if (a != null) a.propNullableT - if (a != null) a.propNullableAny - if (a != null) a.funT() - if (a != null) a.funAny() - if (a != null) a.funNullableT() - if (a != null) a.funNullableAny() - if (a != null) a + if (a != null) a.equals(null) + if (a != null) a.propT + if (a != null) a.propAny + if (a != null) a.propNullableT + if (a != null) a.propNullableAny + if (a != null) a.funT() + if (a != null) a.funAny() + if (a != null) a.funNullableT() + if (a != null) a.funNullableAny() + if (a != null) a - if (b != null) b.equals(null) + if (b != null) b.equals(null) - if (b != null) b.propT + if (b != null) b.propT - if (b != null) b.propAny + if (b != null) b.propAny - if (b != null) b.propNullableT + if (b != null) b.propNullableT - if (b != null) b.propNullableAny + if (b != null) b.propNullableAny - if (b != null) b.funT() + if (b != null) b.funT() - if (b != null) b.funAny() + if (b != null) b.funAny() - if (b != null) b.funNullableT() + if (b != null) b.funNullableT() - if (b != null) b.funNullableAny() - if (b != null) b + if (b != null) b.funNullableAny() + if (b != null) b if (this.b != null) this.b if (this.b != null) this.b.equals(null) if (this.b != null) this.b.propT @@ -613,16 +613,16 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (this.b != null) this.b.funAny() if (this.b != null) this.b.funNullableT() if (this.b != null) this.b.funNullableAny() - if (this.b != null) b - if (this.b != null) b.equals(null) - if (this.b != null) b.propT - if (this.b != null) b.propAny - if (this.b != null) b.propNullableT - if (this.b != null) b.propNullableAny - if (this.b != null) b.funT() - if (this.b != null) b.funAny() - if (this.b != null) b.funNullableT() - if (this.b != null) b.funNullableAny() + if (this.b != null) b + if (this.b != null) b.equals(null) + if (this.b != null) b.propT + if (this.b != null) b.propAny + if (this.b != null) b.propNullableT + if (this.b != null) b.propNullableAny + if (this.b != null) b.funT() + if (this.b != null) b.funAny() + if (this.b != null) b.funNullableT() + if (this.b != null) b.funNullableAny() if (b != null) this.b if (b != null) this.b.equals(null) if (b != null) this.b.propT @@ -633,16 +633,16 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (b != null) this.b.funAny() if (b != null) this.b.funNullableT() if (b != null) this.b.funNullableAny() - if (b != null || this.b != null) b.equals(null) - if (b != null || this.b != null) b.propT - if (b != null || this.b != null) b.propAny - if (b != null || this.b != null) b.propNullableT - if (b != null || this.b != null) b.propNullableAny - if (b != null || this.b != null) b.funT() - if (b != null || this.b != null) b.funAny() - if (b != null || this.b != null) b.funNullableT() - if (b != null || this.b != null) b.funNullableAny() - if (b != null || this.b != null) b + if (b != null || this.b != null) b.equals(null) + if (b != null || this.b != null) b.propT + if (b != null || this.b != null) b.propAny + if (b != null || this.b != null) b.propNullableT + if (b != null || this.b != null) b.propNullableAny + if (b != null || this.b != null) b.funT() + if (b != null || this.b != null) b.funAny() + if (b != null || this.b != null) b.funNullableT() + if (b != null || this.b != null) b.funNullableAny() + if (b != null || this.b != null) b if (b != null || this.b != null) this.b.equals(null) if (b != null || this.b != null) this.b.propT if (b != null || this.b != null) this.b.propAny @@ -654,24 +654,24 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (b != null || this.b != null) this.b.funNullableAny() if (b != null || this.b != null) this.b - if (c != null) c.equals(null) + if (c != null) c.equals(null) - if (c != null) c.propT + if (c != null) c.propT - if (c != null) c.propAny + if (c != null) c.propAny - if (c != null) c.propNullableT + if (c != null) c.propNullableT - if (c != null) c.propNullableAny + if (c != null) c.propNullableAny - if (c != null) c.funT() + if (c != null) c.funT() - if (c != null) c.funAny() + if (c != null) c.funAny() - if (c != null) c.funNullableT() + if (c != null) c.funNullableT() - if (c != null) c.funNullableAny() - if (c != null) c + if (c != null) c.funNullableAny() + if (c != null) c if (this.c != null) this.c.equals(null) if (this.c != null) this.c.propT if (this.c != null) this.c.propAny @@ -692,26 +692,26 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (c != null) this.c.funNullableT() if (c != null) this.c.funNullableAny() if (c != null) this.c - if (this.c != null) c.equals(null) - if (this.c != null) c.propT - if (this.c != null) c.propAny - if (this.c != null) c.propNullableT - if (this.c != null) c.propNullableAny - if (this.c != null) c.funT() - if (this.c != null) c.funAny() - if (this.c != null) c.funNullableT() - if (this.c != null) c.funNullableAny() - if (this.c != null) c - if (c != null || this.c != null) c.equals(null) - if (c != null || this.c != null) c.propT - if (c != null || this.c != null) c.propAny - if (c != null || this.c != null) c.propNullableT - if (c != null || this.c != null) c.propNullableAny - if (c != null || this.c != null) c.funT() - if (c != null || this.c != null) c.funAny() - if (c != null || this.c != null) c.funNullableT() - if (c != null || this.c != null) c.funNullableAny() - if (c != null || this.c != null) c + if (this.c != null) c.equals(null) + if (this.c != null) c.propT + if (this.c != null) c.propAny + if (this.c != null) c.propNullableT + if (this.c != null) c.propNullableAny + if (this.c != null) c.funT() + if (this.c != null) c.funAny() + if (this.c != null) c.funNullableT() + if (this.c != null) c.funNullableAny() + if (this.c != null) c + if (c != null || this.c != null) c.equals(null) + if (c != null || this.c != null) c.propT + if (c != null || this.c != null) c.propAny + if (c != null || this.c != null) c.propNullableT + if (c != null || this.c != null) c.propNullableAny + if (c != null || this.c != null) c.funT() + if (c != null || this.c != null) c.funAny() + if (c != null || this.c != null) c.funNullableT() + if (c != null || this.c != null) c.funNullableAny() + if (c != null || this.c != null) c if (c != null || this.c != null) this.c.equals(null) if (c != null || this.c != null) this.c.propT if (c != null || this.c != null) this.c.propAny @@ -723,24 +723,24 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (c != null || this.c != null) this.c.funNullableAny() if (c != null || this.c != null) this.c - if (d != null) d.equals(null) + if (d != null) d.equals(null) - if (d != null) d.propT + if (d != null) d.propT - if (d != null) d.propAny + if (d != null) d.propAny - if (d != null) d.propNullableT + if (d != null) d.propNullableT - if (d != null) d.propNullableAny + if (d != null) d.propNullableAny - if (d != null) d.funT() + if (d != null) d.funT() - if (d != null) d.funAny() + if (d != null) d.funAny() - if (d != null) d.funNullableT() + if (d != null) d.funNullableT() - if (d != null) d.funNullableAny() - if (d != null) d + if (d != null) d.funNullableAny() + if (d != null) d if (this.d != null) this.d.equals(null) if (this.d != null) this.d.propT if (this.d != null) this.d.propAny @@ -761,26 +761,26 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (d != null) this.d.funNullableT() if (d != null) this.d.funNullableAny() if (d != null) this.d - if (this.d != null) d.equals(null) - if (this.d != null) d.propT - if (this.d != null) d.propAny - if (this.d != null) d.propNullableT - if (this.d != null) d.propNullableAny - if (this.d != null) d.funT() - if (this.d != null) d.funAny() - if (this.d != null) d.funNullableT() - if (this.d != null) d.funNullableAny() - if (this.d != null) d - if (d != null || this.d != null) d.equals(null) - if (d != null || this.d != null) d.propT - if (d != null || this.d != null) d.propAny - if (d != null || this.d != null) d.propNullableT - if (d != null || this.d != null) d.propNullableAny - if (d != null || this.d != null) d.funT() - if (d != null || this.d != null) d.funAny() - if (d != null || this.d != null) d.funNullableT() - if (d != null || this.d != null) d.funNullableAny() - if (d != null || this.d != null) d + if (this.d != null) d.equals(null) + if (this.d != null) d.propT + if (this.d != null) d.propAny + if (this.d != null) d.propNullableT + if (this.d != null) d.propNullableAny + if (this.d != null) d.funT() + if (this.d != null) d.funAny() + if (this.d != null) d.funNullableT() + if (this.d != null) d.funNullableAny() + if (this.d != null) d + if (d != null || this.d != null) d.equals(null) + if (d != null || this.d != null) d.propT + if (d != null || this.d != null) d.propAny + if (d != null || this.d != null) d.propNullableT + if (d != null || this.d != null) d.propNullableAny + if (d != null || this.d != null) d.funT() + if (d != null || this.d != null) d.funAny() + if (d != null || this.d != null) d.funNullableT() + if (d != null || this.d != null) d.funNullableAny() + if (d != null || this.d != null) d if (d != null || this.d != null) this.d.equals(null) if (d != null || this.d != null) this.d.propT if (d != null || this.d != null) this.d.propAny @@ -792,24 +792,24 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (d != null || this.d != null) this.d.funNullableAny() if (d != null || this.d != null) this.d - if (e != null) e.equals(null) + if (e != null) e.equals(null) - if (e != null) e.propT + if (e != null) e.propT - if (e != null) e.propAny + if (e != null) e.propAny - if (e != null) e.propNullableT + if (e != null) e.propNullableT - if (e != null) e.propNullableAny + if (e != null) e.propNullableAny - if (e != null) e.funT() + if (e != null) e.funT() - if (e != null) e.funAny() + if (e != null) e.funAny() - if (e != null) e.funNullableT() + if (e != null) e.funNullableT() - if (e != null) e.funNullableAny() - if (e != null) e + if (e != null) e.funNullableAny() + if (e != null) e if (this.e != null) this.e.equals(null) if (this.e != null) this.e.propT if (this.e != null) this.e.propAny @@ -820,16 +820,16 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (this.e != null) this.e.funNullableT() if (this.e != null) this.e.funNullableAny() if (this.e != null) this.e - if (this.e != null) e.equals(null) - if (this.e != null) e.propT - if (this.e != null) e.propAny - if (this.e != null) e.propNullableT - if (this.e != null) e.propNullableAny - if (this.e != null) e.funT() - if (this.e != null) e.funAny() - if (this.e != null) e.funNullableT() - if (this.e != null) e.funNullableAny() - if (this.e != null) e + if (this.e != null) e.equals(null) + if (this.e != null) e.propT + if (this.e != null) e.propAny + if (this.e != null) e.propNullableT + if (this.e != null) e.propNullableAny + if (this.e != null) e.funT() + if (this.e != null) e.funAny() + if (this.e != null) e.funNullableT() + if (this.e != null) e.funNullableAny() + if (this.e != null) e if (e != null) this.e.equals(null) if (e != null) this.e.propT if (e != null) this.e.propAny @@ -840,16 +840,16 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (e != null) this.e.funNullableT() if (e != null) this.e.funNullableAny() if (e != null) this.e - if (e != null || this.e != null) e.equals(null) - if (e != null || this.e != null) e.propT - if (e != null || this.e != null) e.propAny - if (e != null || this.e != null) e.propNullableT - if (e != null || this.e != null) e.propNullableAny - if (e != null || this.e != null) e.funT() - if (e != null || this.e != null) e.funAny() - if (e != null || this.e != null) e.funNullableT() - if (e != null || this.e != null) e.funNullableAny() - if (e != null || this.e != null) e + if (e != null || this.e != null) e.equals(null) + if (e != null || this.e != null) e.propT + if (e != null || this.e != null) e.propAny + if (e != null || this.e != null) e.propNullableT + if (e != null || this.e != null) e.propNullableAny + if (e != null || this.e != null) e.funT() + if (e != null || this.e != null) e.funAny() + if (e != null || this.e != null) e.funNullableT() + if (e != null || this.e != null) e.funNullableAny() + if (e != null || this.e != null) e if (e != null || this.e != null) this.e.equals(null) if (e != null || this.e != null) this.e.propT if (e != null || this.e != null) this.e.propAny @@ -861,24 +861,24 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (e != null || this.e != null) this.e.funNullableAny() if (e != null || this.e != null) this.e - if (f != null) f.equals(null) + if (f != null) f.equals(null) - if (f != null) f.propT + if (f != null) f.propT - if (f != null) f.propAny + if (f != null) f.propAny - if (f != null) f.propNullableT + if (f != null) f.propNullableT - if (f != null) f.propNullableAny + if (f != null) f.propNullableAny - if (f != null) f.funT() + if (f != null) f.funT() - if (f != null) f.funAny() + if (f != null) f.funAny() - if (f != null) f.funNullableT() + if (f != null) f.funNullableT() - if (f != null) f.funNullableAny() - if (f != null) f + if (f != null) f.funNullableAny() + if (f != null) f if (this.f != null) this.f.equals(null) if (this.f != null) this.f.propT if (this.f != null) this.f.propAny @@ -889,16 +889,16 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (this.f != null) this.f.funNullableT() if (this.f != null) this.f.funNullableAny() if (this.f != null) this.f - if (this.f != null) f.equals(null) - if (this.f != null) f.propT - if (this.f != null) f.propAny - if (this.f != null) f.propNullableT - if (this.f != null) f.propNullableAny - if (this.f != null) f.funT() - if (this.f != null) f.funAny() - if (this.f != null) f.funNullableT() - if (this.f != null) f.funNullableAny() - if (this.f != null) f + if (this.f != null) f.equals(null) + if (this.f != null) f.propT + if (this.f != null) f.propAny + if (this.f != null) f.propNullableT + if (this.f != null) f.propNullableAny + if (this.f != null) f.funT() + if (this.f != null) f.funAny() + if (this.f != null) f.funNullableT() + if (this.f != null) f.funNullableAny() + if (this.f != null) f if (f != null) this.f.equals(null) if (f != null) this.f.propT if (f != null) this.f.propAny @@ -909,16 +909,16 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (f != null) this.f.funNullableT() if (f != null) this.f.funNullableAny() if (f != null) this.f - if (f != null || this.f != null) f.equals(null) - if (f != null || this.f != null) f.propT - if (f != null || this.f != null) f.propAny - if (f != null || this.f != null) f.propNullableT - if (f != null || this.f != null) f.propNullableAny - if (f != null || this.f != null) f.funT() - if (f != null || this.f != null) f.funAny() - if (f != null || this.f != null) f.funNullableT() - if (f != null || this.f != null) f.funNullableAny() - if (f != null || this.f != null) f + if (f != null || this.f != null) f.equals(null) + if (f != null || this.f != null) f.propT + if (f != null || this.f != null) f.propAny + if (f != null || this.f != null) f.propNullableT + if (f != null || this.f != null) f.propNullableAny + if (f != null || this.f != null) f.funT() + if (f != null || this.f != null) f.funAny() + if (f != null || this.f != null) f.funNullableT() + if (f != null || this.f != null) f.funNullableAny() + if (f != null || this.f != null) f if (f != null || this.f != null) this.f.equals(null) if (f != null || this.f != null) this.f.propT if (f != null || this.f != null) this.f.propAny @@ -930,24 +930,24 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (f != null || this.f != null) this.f.funNullableAny() if (f != null || this.f != null) this.f - if (x != null) x.equals(null) + if (x != null) x.equals(null) - if (x != null) x.propT + if (x != null) x.propT - if (x != null) x.propAny + if (x != null) x.propAny - if (x != null) x.propNullableT + if (x != null) x.propNullableT - if (x != null) x.propNullableAny + if (x != null) x.propNullableAny - if (x != null) x.funT() + if (x != null) x.funT() - if (x != null) x.funAny() + if (x != null) x.funAny() - if (x != null) x.funNullableT() + if (x != null) x.funNullableT() - if (x != null) x.funNullableAny() - if (x != null) x + if (x != null) x.funNullableAny() + if (x != null) x if (this.x != null) this.x.equals(null) if (this.x != null) this.x.propT if (this.x != null) this.x.propAny @@ -968,26 +968,26 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (x != null) this.x.funNullableT() if (x != null) this.x.funNullableAny() if (x != null) this.x - if (this.x != null) x.equals(null) - if (this.x != null) x.propT - if (this.x != null) x.propAny - if (this.x != null) x.propNullableT - if (this.x != null) x.propNullableAny - if (this.x != null) x.funT() - if (this.x != null) x.funAny() - if (this.x != null) x.funNullableT() - if (this.x != null) x.funNullableAny() - if (this.x != null) x - if (x != null || this.x != null) x.equals(null) - if (x != null || this.x != null) x.propT - if (x != null || this.x != null) x.propAny - if (x != null || this.x != null) x.propNullableT - if (x != null || this.x != null) x.propNullableAny - if (x != null || this.x != null) x.funT() - if (x != null || this.x != null) x.funAny() - if (x != null || this.x != null) x.funNullableT() - if (x != null || this.x != null) x.funNullableAny() - if (x != null || this.x != null) x + if (this.x != null) x.equals(null) + if (this.x != null) x.propT + if (this.x != null) x.propAny + if (this.x != null) x.propNullableT + if (this.x != null) x.propNullableAny + if (this.x != null) x.funT() + if (this.x != null) x.funAny() + if (this.x != null) x.funNullableT() + if (this.x != null) x.funNullableAny() + if (this.x != null) x + if (x != null || this.x != null) x.equals(null) + if (x != null || this.x != null) x.propT + if (x != null || this.x != null) x.propAny + if (x != null || this.x != null) x.propNullableT + if (x != null || this.x != null) x.propNullableAny + if (x != null || this.x != null) x.funT() + if (x != null || this.x != null) x.funAny() + if (x != null || this.x != null) x.funNullableT() + if (x != null || this.x != null) x.funNullableAny() + if (x != null || this.x != null) x if (x != null || this.x != null) this.x.equals(null) if (x != null || this.x != null) this.x.propT if (x != null || this.x != null) this.x.propAny @@ -999,24 +999,24 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (x != null || this.x != null) this.x.funNullableAny() if (x != null || this.x != null) this.x - if (y != null) y.equals(null) + if (y != null) y.equals(null) - if (y != null) y.propT + if (y != null) y.propT - if (y != null) y.propAny + if (y != null) y.propAny - if (y != null) y.propNullableT + if (y != null) y.propNullableT - if (y != null) y.propNullableAny + if (y != null) y.propNullableAny - if (y != null) y.funT() + if (y != null) y.funT() - if (y != null) y.funAny() + if (y != null) y.funAny() - if (y != null) y.funNullableT() + if (y != null) y.funNullableT() - if (y != null) y.funNullableAny() - if (y != null) y + if (y != null) y.funNullableAny() + if (y != null) y if (this.y != null) this.y.equals(null) if (this.y != null) this.y.propT if (this.y != null) this.y.propAny @@ -1027,16 +1027,16 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (this.y != null) this.y.funNullableT() if (this.y != null) this.y.funNullableAny() if (this.y != null) this.y - if (this.y != null) y.equals(null) - if (this.y != null) y.propT - if (this.y != null) y.propAny - if (this.y != null) y.propNullableT - if (this.y != null) y.propNullableAny - if (this.y != null) y.funT() - if (this.y != null) y.funAny() - if (this.y != null) y.funNullableT() - if (this.y != null) y.funNullableAny() - if (this.y != null) y + if (this.y != null) y.equals(null) + if (this.y != null) y.propT + if (this.y != null) y.propAny + if (this.y != null) y.propNullableT + if (this.y != null) y.propNullableAny + if (this.y != null) y.funT() + if (this.y != null) y.funAny() + if (this.y != null) y.funNullableT() + if (this.y != null) y.funNullableAny() + if (this.y != null) y if (y != null) this.y.equals(null) if (y != null) this.y.propT if (y != null) this.y.propAny @@ -1047,16 +1047,16 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (y != null) this.y.funNullableT() if (y != null) this.y.funNullableAny() if (y != null) this.y - if (y != null || this.y != null) y.equals(null) - if (y != null || this.y != null) y.propT - if (y != null || this.y != null) y.propAny - if (y != null || this.y != null) y.propNullableT - if (y != null || this.y != null) y.propNullableAny - if (y != null || this.y != null) y.funT() - if (y != null || this.y != null) y.funAny() - if (y != null || this.y != null) y.funNullableT() - if (y != null || this.y != null) y.funNullableAny() - if (y != null || this.y != null) y + if (y != null || this.y != null) y.equals(null) + if (y != null || this.y != null) y.propT + if (y != null || this.y != null) y.propAny + if (y != null || this.y != null) y.propNullableT + if (y != null || this.y != null) y.propNullableAny + if (y != null || this.y != null) y.funT() + if (y != null || this.y != null) y.funAny() + if (y != null || this.y != null) y.funNullableT() + if (y != null || this.y != null) y.funNullableAny() + if (y != null || this.y != null) y if (y != null || this.y != null) this.y.equals(null) if (y != null || this.y != null) this.y.propT if (y != null || this.y != null) this.y.propAny @@ -1068,24 +1068,24 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (y != null || this.y != null) this.y.funNullableAny() if (y != null || this.y != null) this.y - if (z != null) z.equals(null) + if (z != null) z.equals(null) - if (z != null) z.propT + if (z != null) z.propT - if (z != null) z.propAny + if (z != null) z.propAny - if (z != null) z.propNullableT + if (z != null) z.propNullableT - if (z != null) z.propNullableAny + if (z != null) z.propNullableAny - if (z != null) z.funT() + if (z != null) z.funT() - if (z != null) z.funAny() + if (z != null) z.funAny() - if (z != null) z.funNullableT() + if (z != null) z.funNullableT() - if (z != null) z.funNullableAny() - if (z != null) z + if (z != null) z.funNullableAny() + if (z != null) z if (this.z != null) this.z.equals(null) if (this.z != null) this.z.propT if (this.z != null) this.z.propAny @@ -1106,26 +1106,26 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (z != null) this.z.funNullableT() if (z != null) this.z.funNullableAny() if (z != null) this.z - if (this.z != null) z.equals(null) - if (this.z != null) z.propT - if (this.z != null) z.propAny - if (this.z != null) z.propNullableT - if (this.z != null) z.propNullableAny - if (this.z != null) z.funT() - if (this.z != null) z.funAny() - if (this.z != null) z.funNullableT() - if (this.z != null) z.funNullableAny() - if (this.z != null) z - if (z != null || this.z != null) z - if (z != null || this.z != null) z.equals(null) - if (z != null || this.z != null) z.propT - if (z != null || this.z != null) z.propAny - if (z != null || this.z != null) z.propNullableT - if (z != null || this.z != null) z.propNullableAny - if (z != null || this.z != null) z.funT() - if (z != null || this.z != null) z.funAny() - if (z != null || this.z != null) z.funNullableT() - if (z != null || this.z != null) z.funNullableAny() + if (this.z != null) z.equals(null) + if (this.z != null) z.propT + if (this.z != null) z.propAny + if (this.z != null) z.propNullableT + if (this.z != null) z.propNullableAny + if (this.z != null) z.funT() + if (this.z != null) z.funAny() + if (this.z != null) z.funNullableT() + if (this.z != null) z.funNullableAny() + if (this.z != null) z + if (z != null || this.z != null) z + if (z != null || this.z != null) z.equals(null) + if (z != null || this.z != null) z.propT + if (z != null || this.z != null) z.propAny + if (z != null || this.z != null) z.propNullableT + if (z != null || this.z != null) z.propNullableAny + if (z != null || this.z != null) z.funT() + if (z != null || this.z != null) z.funAny() + if (z != null || this.z != null) z.funNullableT() + if (z != null || this.z != null) z.funNullableAny() if (z != null || this.z != null) this.z if (z != null || this.z != null) this.z.equals(null) if (z != null || this.z != null) this.z.propT @@ -1137,24 +1137,24 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (z != null || this.z != null) this.z.funNullableT() if (z != null || this.z != null) this.z.funNullableAny() - if (u != null) u.equals(null) + if (u != null) u.equals(null) - if (u != null) u.propT + if (u != null) u.propT - if (u != null) u.propAny + if (u != null) u.propAny - if (u != null) u.propNullableT + if (u != null) u.propNullableT - if (u != null) u.propNullableAny + if (u != null) u.propNullableAny - if (u != null) u.funT() + if (u != null) u.funT() - if (u != null) u.funAny() + if (u != null) u.funAny() - if (u != null) u.funNullableT() + if (u != null) u.funNullableT() - if (u != null) u.funNullableAny() - if (u != null) u + if (u != null) u.funNullableAny() + if (u != null) u if (this.u != null) this.u.equals(null) if (this.u != null) this.u.propT if (this.u != null) this.u.propAny @@ -1165,16 +1165,16 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (this.u != null) this.u.funNullableT() if (this.u != null) this.u.funNullableAny() if (this.u != null) this.u - if (this.u != null) u.equals(null) - if (this.u != null) u.propT - if (this.u != null) u.propAny - if (this.u != null) u.propNullableT - if (this.u != null) u.propNullableAny - if (this.u != null) u.funT() - if (this.u != null) u.funAny() - if (this.u != null) u.funNullableT() - if (this.u != null) u.funNullableAny() - if (this.u != null) u + if (this.u != null) u.equals(null) + if (this.u != null) u.propT + if (this.u != null) u.propAny + if (this.u != null) u.propNullableT + if (this.u != null) u.propNullableAny + if (this.u != null) u.funT() + if (this.u != null) u.funAny() + if (this.u != null) u.funNullableT() + if (this.u != null) u.funNullableAny() + if (this.u != null) u if (u != null) this.u.equals(null) if (u != null) this.u.propT if (u != null) this.u.propAny @@ -1185,16 +1185,16 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (u != null) this.u.funNullableT() if (u != null) this.u.funNullableAny() if (u != null) this.u - if (u != null || this.u != null) u.equals(null) - if (u != null || this.u != null) u.propT - if (u != null || this.u != null) u.propAny - if (u != null || this.u != null) u.propNullableT - if (u != null || this.u != null) u.propNullableAny - if (u != null || this.u != null) u.funT() - if (u != null || this.u != null) u.funAny() - if (u != null || this.u != null) u.funNullableT() - if (u != null || this.u != null) u.funNullableAny() - if (u != null || this.u != null) u + if (u != null || this.u != null) u.equals(null) + if (u != null || this.u != null) u.propT + if (u != null || this.u != null) u.propAny + if (u != null || this.u != null) u.propNullableT + if (u != null || this.u != null) u.propNullableAny + if (u != null || this.u != null) u.funT() + if (u != null || this.u != null) u.funAny() + if (u != null || this.u != null) u.funNullableT() + if (u != null || this.u != null) u.funNullableAny() + if (u != null || this.u != null) u if (u != null || this.u != null) this.u.equals(null) if (u != null || this.u != null) this.u.propT if (u != null || this.u != null) this.u.propAny @@ -1207,46 +1207,46 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (u != null || this.u != null) this.u v = 0 - v.equals(null) - v.propT - v.propAny - v.propNullableT - v.propNullableAny - v.funT() - v.funAny() - v.funNullableT() - v.funNullableAny() - v - if (v != null) v.equals(null) - if (v != null) v.propT - if (v != null) v.propAny - if (v != null) v.propNullableT - if (v != null) v.propNullableAny - if (v != null) v.funT() - if (v != null) v.funAny() - if (v != null) v.funNullableT() - if (v != null) v.funNullableAny() - if (v != null) v - if (this.v != null) v.equals(null) - if (this.v != null) v.propT - if (this.v != null) v.propAny - if (this.v != null) v.propNullableT - if (this.v != null) v.propNullableAny - if (this.v != null) v.funT() - if (this.v != null) v.funAny() - if (this.v != null) v.funNullableT() - if (this.v != null) v.funNullableAny() - if (this.v != null) v - if (v != null || this.v != null) v.equals(null) - if (v != null || this.v != null) v.propT - if (v != null || this.v != null) v.propAny - if (v != null || this.v != null) v.propNullableT - if (v != null || this.v != null) v.propNullableAny - if (v != null || this.v != null) v.funT() - if (v != null || this.v != null) v.funAny() - if (v != null || this.v != null) v.funNullableT() - if (v != null || this.v != null) v.funNullableAny() - if (v != null || this.v != null) v + v.equals(null) + v.propT + v.propAny + v.propNullableT + v.propNullableAny + v.funT() + v.funAny() + v.funNullableT() + v.funNullableAny() + v + if (v != null) v.equals(null) + if (v != null) v.propT + if (v != null) v.propAny + if (v != null) v.propNullableT + if (v != null) v.propNullableAny + if (v != null) v.funT() + if (v != null) v.funAny() + if (v != null) v.funNullableT() + if (v != null) v.funNullableAny() + if (v != null) v + if (this.v != null) v.equals(null) + if (this.v != null) v.propT + if (this.v != null) v.propAny + if (this.v != null) v.propNullableT + if (this.v != null) v.propNullableAny + if (this.v != null) v.funT() + if (this.v != null) v.funAny() + if (this.v != null) v.funNullableT() + if (this.v != null) v.funNullableAny() + if (this.v != null) v + if (v != null || this.v != null) v.equals(null) + if (v != null || this.v != null) v.propT + if (v != null || this.v != null) v.propAny + if (v != null || this.v != null) v.propNullableT + if (v != null || this.v != null) v.propNullableAny + if (v != null || this.v != null) v.funT() + if (v != null || this.v != null) v.funAny() + if (v != null || this.v != null) v.funNullableT() + if (v != null || this.v != null) v.funNullableAny() + if (v != null || this.v != null) v if (v != null || this.v != null) this.v.equals(null) if (v != null || this.v != null) this.v.propT if (v != null || this.v != null) this.v.propAny @@ -1259,37 +1259,37 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (v != null || this.v != null) this.v w = if (null != null) 10 else null - w - if (w != null) w.equals(null) - if (w != null) w.propT - if (w != null) w.propAny - if (w != null) w.propNullableT - if (w != null) w.propNullableAny - if (w != null) w.funT() - if (w != null) w.funAny() - if (w != null) w.funNullableT() - if (w != null) w.funNullableAny() - if (w != null) w - if (this.w != null) w.equals(null) - if (this.w != null) w.propT - if (this.w != null) w.propAny - if (this.w != null) w.propNullableT - if (this.w != null) w.propNullableAny - if (this.w != null) w.funT() - if (this.w != null) w.funAny() - if (this.w != null) w.funNullableT() - if (this.w != null) w.funNullableAny() - if (this.w != null) w - if (w != null || this.w != null) w.equals(null) - if (w != null || this.w != null) w.propT - if (w != null || this.w != null) w.propAny - if (w != null || this.w != null) w.propNullableT - if (w != null || this.w != null) w.propNullableAny - if (w != null || this.w != null) w.funT() - if (w != null || this.w != null) w.funAny() - if (w != null || this.w != null) w.funNullableT() - if (w != null || this.w != null) w.funNullableAny() - if (w != null || this.w != null) w + w + if (w != null) w.equals(null) + if (w != null) w.propT + if (w != null) w.propAny + if (w != null) w.propNullableT + if (w != null) w.propNullableAny + if (w != null) w.funT() + if (w != null) w.funAny() + if (w != null) w.funNullableT() + if (w != null) w.funNullableAny() + if (w != null) w + if (this.w != null) w.equals(null) + if (this.w != null) w.propT + if (this.w != null) w.propAny + if (this.w != null) w.propNullableT + if (this.w != null) w.propNullableAny + if (this.w != null) w.funT() + if (this.w != null) w.funAny() + if (this.w != null) w.funNullableT() + if (this.w != null) w.funNullableAny() + if (this.w != null) w + if (w != null || this.w != null) w.equals(null) + if (w != null || this.w != null) w.propT + if (w != null || this.w != null) w.propAny + if (w != null || this.w != null) w.propNullableT + if (w != null || this.w != null) w.propNullableAny + if (w != null || this.w != null) w.funT() + if (w != null || this.w != null) w.funAny() + if (w != null || this.w != null) w.funNullableT() + if (w != null || this.w != null) w.funNullableAny() + if (w != null || this.w != null) w if (w != null || this.w != null) this.w.equals(null) if (w != null || this.w != null) this.w.propT if (w != null || this.w != null) this.w.propAny @@ -1304,232 +1304,232 @@ open class Case29(a: Int?, val b: Float?, private val c: Unit?, protected val d: s = null s.hashCode() s - if (s != null) s - if (this.s != null) s - if (s != null || this.s != null) s + if (s != null) s + if (this.s != null) s + if (s != null || this.s != null) s if (s != null || this.s != null) this.s } fun test() { - if (b != null) b.equals(null) - if (b != null) b.propT - if (b != null) b.propAny - if (b != null) b.propNullableT - if (b != null) b.propNullableAny - if (b != null) b.funT() - if (b != null) b.funAny() - if (b != null) b.funNullableT() - if (b != null) b.funNullableAny() - if (b != null) b + if (b != null) b.equals(null) + if (b != null) b.propT + if (b != null) b.propAny + if (b != null) b.propNullableT + if (b != null) b.propNullableAny + if (b != null) b.funT() + if (b != null) b.funAny() + if (b != null) b.funNullableT() + if (b != null) b.funNullableAny() + if (b != null) b - if (c != null) c.equals(null) + if (c != null) c.equals(null) - if (c != null) c.propT + if (c != null) c.propT - if (c != null) c.propAny + if (c != null) c.propAny - if (c != null) c.propNullableT + if (c != null) c.propNullableT - if (c != null) c.propNullableAny + if (c != null) c.propNullableAny - if (c != null) c.funT() + if (c != null) c.funT() - if (c != null) c.funAny() + if (c != null) c.funAny() - if (c != null) c.funNullableT() + if (c != null) c.funNullableT() - if (c != null) c.funNullableAny() - if (c != null) c + if (c != null) c.funNullableAny() + if (c != null) c - if (d != null) d.equals(null) + if (d != null) d.equals(null) - if (d != null) d.propT + if (d != null) d.propT - if (d != null) d.propAny + if (d != null) d.propAny - if (d != null) d.propNullableT + if (d != null) d.propNullableT - if (d != null) d.propNullableAny + if (d != null) d.propNullableAny - if (d != null) d.funT() + if (d != null) d.funT() - if (d != null) d.funAny() + if (d != null) d.funAny() - if (d != null) d.funNullableT() + if (d != null) d.funNullableT() - if (d != null) d.funNullableAny() - if (d != null) d + if (d != null) d.funNullableAny() + if (d != null) d - if (e != null) e.equals(null) + if (e != null) e.equals(null) - if (e != null) e.propT + if (e != null) e.propT - if (e != null) e.propAny + if (e != null) e.propAny - if (e != null) e.propNullableT + if (e != null) e.propNullableT - if (e != null) e.propNullableAny + if (e != null) e.propNullableAny - if (e != null) e.funT() + if (e != null) e.funT() - if (e != null) e.funAny() + if (e != null) e.funAny() - if (e != null) e.funNullableT() + if (e != null) e.funNullableT() - if (e != null) e.funNullableAny() - if (e != null) e + if (e != null) e.funNullableAny() + if (e != null) e - if (f != null) f.equals(null) + if (f != null) f.equals(null) - if (f != null) f.propT + if (f != null) f.propT - if (f != null) f.propAny + if (f != null) f.propAny - if (f != null) f.propNullableT + if (f != null) f.propNullableT - if (f != null) f.propNullableAny + if (f != null) f.propNullableAny - if (f != null) f.funT() + if (f != null) f.funT() - if (f != null) f.funAny() + if (f != null) f.funAny() - if (f != null) f.funNullableT() + if (f != null) f.funNullableT() - if (f != null) f.funNullableAny() - if (f != null) f + if (f != null) f.funNullableAny() + if (f != null) f - if (x != null) x.equals(null) + if (x != null) x.equals(null) - if (x != null) x.propT + if (x != null) x.propT - if (x != null) x.propAny + if (x != null) x.propAny - if (x != null) x.propNullableT + if (x != null) x.propNullableT - if (x != null) x.propNullableAny + if (x != null) x.propNullableAny - if (x != null) x.funT() + if (x != null) x.funT() - if (x != null) x.funAny() + if (x != null) x.funAny() - if (x != null) x.funNullableT() + if (x != null) x.funNullableT() - if (x != null) x.funNullableAny() - if (x != null) x + if (x != null) x.funNullableAny() + if (x != null) x - if (y != null) y.equals(null) + if (y != null) y.equals(null) - if (y != null) y.propT + if (y != null) y.propT - if (y != null) y.propAny + if (y != null) y.propAny - if (y != null) y.propNullableT + if (y != null) y.propNullableT - if (y != null) y.propNullableAny + if (y != null) y.propNullableAny - if (y != null) y.funT() + if (y != null) y.funT() - if (y != null) y.funAny() + if (y != null) y.funAny() - if (y != null) y.funNullableT() + if (y != null) y.funNullableT() - if (y != null) y.funNullableAny() - if (y != null) y + if (y != null) y.funNullableAny() + if (y != null) y - if (z != null) z.equals(null) + if (z != null) z.equals(null) - if (z != null) z.propT + if (z != null) z.propT - if (z != null) z.propAny + if (z != null) z.propAny - if (z != null) z.propNullableT + if (z != null) z.propNullableT - if (z != null) z.propNullableAny + if (z != null) z.propNullableAny - if (z != null) z.funT() + if (z != null) z.funT() - if (z != null) z.funAny() + if (z != null) z.funAny() - if (z != null) z.funNullableT() + if (z != null) z.funNullableT() - if (z != null) z.funNullableAny() - if (z != null) z + if (z != null) z.funNullableAny() + if (z != null) z - if (u != null) u.equals(null) + if (u != null) u.equals(null) - if (u != null) u.propT + if (u != null) u.propT - if (u != null) u.propAny + if (u != null) u.propAny - if (u != null) u.propNullableT + if (u != null) u.propNullableT - if (u != null) u.propNullableAny + if (u != null) u.propNullableAny - if (u != null) u.funT() + if (u != null) u.funT() - if (u != null) u.funAny() + if (u != null) u.funAny() - if (u != null) u.funNullableT() + if (u != null) u.funNullableT() - if (u != null) u.funNullableAny() - if (u != null) u + if (u != null) u.funNullableAny() + if (u != null) u - if (v != null) v.equals(null) + if (v != null) v.equals(null) - if (v != null) v.propT + if (v != null) v.propT - if (v != null) v.propAny + if (v != null) v.propAny - if (v != null) v.propNullableT + if (v != null) v.propNullableT - if (v != null) v.propNullableAny + if (v != null) v.propNullableAny - if (v != null) v.funT() + if (v != null) v.funT() - if (v != null) v.funAny() + if (v != null) v.funAny() - if (v != null) v.funNullableT() + if (v != null) v.funNullableT() - if (v != null) v.funNullableAny() - if (v != null) v + if (v != null) v.funNullableAny() + if (v != null) v - if (w != null) w.equals(null) + if (w != null) w.equals(null) - if (w != null) w.propT + if (w != null) w.propT - if (w != null) w.propAny + if (w != null) w.propAny - if (w != null) w.propNullableT + if (w != null) w.propNullableT - if (w != null) w.propNullableAny + if (w != null) w.propNullableAny - if (w != null) w.funT() + if (w != null) w.funT() - if (w != null) w.funAny() + if (w != null) w.funAny() - if (w != null) w.funNullableT() + if (w != null) w.funNullableT() - if (w != null) w.funNullableAny() - if (w != null) w + if (w != null) w.funNullableAny() + if (w != null) w - if (s != null) s.equals(null) + if (s != null) s.equals(null) - if (s != null) s.propT + if (s != null) s.propT - if (s != null) s.propAny + if (s != null) s.propAny - if (s != null) s.propNullableT + if (s != null) s.propNullableT - if (s != null) s.propNullableAny + if (s != null) s.propNullableAny - if (s != null) s.funT() + if (s != null) s.funT() - if (s != null) s.funAny() + if (s != null) s.funAny() - if (s != null) s.funNullableT() + if (s != null) s.funNullableT() - if (s != null) s.funNullableAny() - if (s != null) s + if (s != null) s.funNullableAny() + if (s != null) s } } @@ -1618,35 +1618,35 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val val t: String? = if (u != null) this.u else null init { - if (a != null) a.equals(null) - if (a != null) a.propT - if (a != null) a.propAny - if (a != null) a.propNullableT - if (a != null) a.propNullableAny - if (a != null) a.funT() - if (a != null) a.funAny() - if (a != null) a.funNullableT() - if (a != null) a.funNullableAny() - if (a != null) a + if (a != null) a.equals(null) + if (a != null) a.propT + if (a != null) a.propAny + if (a != null) a.propNullableT + if (a != null) a.propNullableAny + if (a != null) a.funT() + if (a != null) a.funAny() + if (a != null) a.funNullableT() + if (a != null) a.funNullableAny() + if (a != null) a - if (b != null) b.equals(null) + if (b != null) b.equals(null) - if (b != null) b.propT + if (b != null) b.propT - if (b != null) b.propAny + if (b != null) b.propAny - if (b != null) b.propNullableT + if (b != null) b.propNullableT - if (b != null) b.propNullableAny + if (b != null) b.propNullableAny - if (b != null) b.funT() + if (b != null) b.funT() - if (b != null) b.funAny() + if (b != null) b.funAny() - if (b != null) b.funNullableT() + if (b != null) b.funNullableT() - if (b != null) b.funNullableAny() - if (b != null) b + if (b != null) b.funNullableAny() + if (b != null) b if (this.b != null) this.b.equals(null) if (this.b != null) this.b.propT if (this.b != null) this.b.propAny @@ -1657,16 +1657,16 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (this.b != null) this.b.funNullableT() if (this.b != null) this.b.funNullableAny() if (this.b != null) this.b - if (this.b != null) b.equals(null) - if (this.b != null) b.propT - if (this.b != null) b.propAny - if (this.b != null) b.propNullableT - if (this.b != null) b.propNullableAny - if (this.b != null) b.funT() - if (this.b != null) b.funAny() - if (this.b != null) b.funNullableT() - if (this.b != null) b.funNullableAny() - if (this.b != null) b + if (this.b != null) b.equals(null) + if (this.b != null) b.propT + if (this.b != null) b.propAny + if (this.b != null) b.propNullableT + if (this.b != null) b.propNullableAny + if (this.b != null) b.funT() + if (this.b != null) b.funAny() + if (this.b != null) b.funNullableT() + if (this.b != null) b.funNullableAny() + if (this.b != null) b if (b != null) this.b.equals(null) if (b != null) this.b.propT if (b != null) this.b.propAny @@ -1677,16 +1677,16 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (b != null) this.b.funNullableT() if (b != null) this.b.funNullableAny() if (b != null) this.b - if (b != null || this.b != null) b.equals(null) - if (b != null || this.b != null) b.propT - if (b != null || this.b != null) b.propAny - if (b != null || this.b != null) b.propNullableT - if (b != null || this.b != null) b.propNullableAny - if (b != null || this.b != null) b.funT() - if (b != null || this.b != null) b.funAny() - if (b != null || this.b != null) b.funNullableT() - if (b != null || this.b != null) b.funNullableAny() - if (b != null || this.b != null) b + if (b != null || this.b != null) b.equals(null) + if (b != null || this.b != null) b.propT + if (b != null || this.b != null) b.propAny + if (b != null || this.b != null) b.propNullableT + if (b != null || this.b != null) b.propNullableAny + if (b != null || this.b != null) b.funT() + if (b != null || this.b != null) b.funAny() + if (b != null || this.b != null) b.funNullableT() + if (b != null || this.b != null) b.funNullableAny() + if (b != null || this.b != null) b if (b != null || this.b != null) this.b.equals(null) if (b != null || this.b != null) this.b.propT if (b != null || this.b != null) this.b.propAny @@ -1698,24 +1698,24 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (b != null || this.b != null) this.b.funNullableAny() if (b != null || this.b != null) this.b - if (c != null) c.equals(null) + if (c != null) c.equals(null) - if (c != null) c.propT + if (c != null) c.propT - if (c != null) c.propAny + if (c != null) c.propAny - if (c != null) c.propNullableT + if (c != null) c.propNullableT - if (c != null) c.propNullableAny + if (c != null) c.propNullableAny - if (c != null) c.funT() + if (c != null) c.funT() - if (c != null) c.funAny() + if (c != null) c.funAny() - if (c != null) c.funNullableT() + if (c != null) c.funNullableT() - if (c != null) c.funNullableAny() - if (c != null) c + if (c != null) c.funNullableAny() + if (c != null) c if (this.c != null) this.c.equals(null) if (this.c != null) this.c.propT if (this.c != null) this.c.propAny @@ -1736,26 +1736,26 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (c != null) this.c.funNullableT() if (c != null) this.c.funNullableAny() if (c != null) this.c - if (this.c != null) c.equals(null) - if (this.c != null) c.propT - if (this.c != null) c.propAny - if (this.c != null) c.propNullableT - if (this.c != null) c.propNullableAny - if (this.c != null) c.funT() - if (this.c != null) c.funAny() - if (this.c != null) c.funNullableT() - if (this.c != null) c.funNullableAny() - if (this.c != null) c - if (c != null || this.c != null) c.equals(null) - if (c != null || this.c != null) c.propT - if (c != null || this.c != null) c.propAny - if (c != null || this.c != null) c.propNullableT - if (c != null || this.c != null) c.propNullableAny - if (c != null || this.c != null) c.funT() - if (c != null || this.c != null) c.funAny() - if (c != null || this.c != null) c.funNullableT() - if (c != null || this.c != null) c.funNullableAny() - if (c != null || this.c != null) c + if (this.c != null) c.equals(null) + if (this.c != null) c.propT + if (this.c != null) c.propAny + if (this.c != null) c.propNullableT + if (this.c != null) c.propNullableAny + if (this.c != null) c.funT() + if (this.c != null) c.funAny() + if (this.c != null) c.funNullableT() + if (this.c != null) c.funNullableAny() + if (this.c != null) c + if (c != null || this.c != null) c.equals(null) + if (c != null || this.c != null) c.propT + if (c != null || this.c != null) c.propAny + if (c != null || this.c != null) c.propNullableT + if (c != null || this.c != null) c.propNullableAny + if (c != null || this.c != null) c.funT() + if (c != null || this.c != null) c.funAny() + if (c != null || this.c != null) c.funNullableT() + if (c != null || this.c != null) c.funNullableAny() + if (c != null || this.c != null) c if (c != null || this.c != null) this.c.equals(null) if (c != null || this.c != null) this.c.propT if (c != null || this.c != null) this.c.propAny @@ -1767,24 +1767,24 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (c != null || this.c != null) this.c.funNullableAny() if (c != null || this.c != null) this.c - if (d != null) d.equals(null) + if (d != null) d.equals(null) - if (d != null) d.propT + if (d != null) d.propT - if (d != null) d.propAny + if (d != null) d.propAny - if (d != null) d.propNullableT + if (d != null) d.propNullableT - if (d != null) d.propNullableAny + if (d != null) d.propNullableAny - if (d != null) d.funT() + if (d != null) d.funT() - if (d != null) d.funAny() + if (d != null) d.funAny() - if (d != null) d.funNullableT() + if (d != null) d.funNullableT() - if (d != null) d.funNullableAny() - if (d != null) d + if (d != null) d.funNullableAny() + if (d != null) d if (this.d != null) this.d.equals(null) if (this.d != null) this.d.propT if (this.d != null) this.d.propAny @@ -1805,26 +1805,26 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (d != null) this.d.funNullableT() if (d != null) this.d.funNullableAny() if (d != null) this.d - if (this.d != null) d.equals(null) - if (this.d != null) d.propT - if (this.d != null) d.propAny - if (this.d != null) d.propNullableT - if (this.d != null) d.propNullableAny - if (this.d != null) d.funT() - if (this.d != null) d.funAny() - if (this.d != null) d.funNullableT() - if (this.d != null) d.funNullableAny() - if (this.d != null) d - if (d != null || this.d != null) d.equals(null) - if (d != null || this.d != null) d.propT - if (d != null || this.d != null) d.propAny - if (d != null || this.d != null) d.propNullableT - if (d != null || this.d != null) d.propNullableAny - if (d != null || this.d != null) d.funT() - if (d != null || this.d != null) d.funAny() - if (d != null || this.d != null) d.funNullableT() - if (d != null || this.d != null) d.funNullableAny() - if (d != null || this.d != null) d + if (this.d != null) d.equals(null) + if (this.d != null) d.propT + if (this.d != null) d.propAny + if (this.d != null) d.propNullableT + if (this.d != null) d.propNullableAny + if (this.d != null) d.funT() + if (this.d != null) d.funAny() + if (this.d != null) d.funNullableT() + if (this.d != null) d.funNullableAny() + if (this.d != null) d + if (d != null || this.d != null) d.equals(null) + if (d != null || this.d != null) d.propT + if (d != null || this.d != null) d.propAny + if (d != null || this.d != null) d.propNullableT + if (d != null || this.d != null) d.propNullableAny + if (d != null || this.d != null) d.funT() + if (d != null || this.d != null) d.funAny() + if (d != null || this.d != null) d.funNullableT() + if (d != null || this.d != null) d.funNullableAny() + if (d != null || this.d != null) d if (d != null || this.d != null) this.d.equals(null) if (d != null || this.d != null) this.d.propT if (d != null || this.d != null) this.d.propAny @@ -1836,24 +1836,24 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (d != null || this.d != null) this.d.funNullableAny() if (d != null || this.d != null) this.d - if (e != null) e.equals(null) + if (e != null) e.equals(null) - if (e != null) e.propT + if (e != null) e.propT - if (e != null) e.propAny + if (e != null) e.propAny - if (e != null) e.propNullableT + if (e != null) e.propNullableT - if (e != null) e.propNullableAny + if (e != null) e.propNullableAny - if (e != null) e.funT() + if (e != null) e.funT() - if (e != null) e.funAny() + if (e != null) e.funAny() - if (e != null) e.funNullableT() + if (e != null) e.funNullableT() - if (e != null) e.funNullableAny() - if (e != null) e + if (e != null) e.funNullableAny() + if (e != null) e if (this.e != null) this.e.equals(null) if (this.e != null) this.e.propT if (this.e != null) this.e.propAny @@ -1864,16 +1864,16 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (this.e != null) this.e.funNullableT() if (this.e != null) this.e.funNullableAny() if (this.e != null) this.e - if (this.e != null) e.equals(null) - if (this.e != null) e.propT - if (this.e != null) e.propAny - if (this.e != null) e.propNullableT - if (this.e != null) e.propNullableAny - if (this.e != null) e.funT() - if (this.e != null) e.funAny() - if (this.e != null) e.funNullableT() - if (this.e != null) e.funNullableAny() - if (this.e != null) e + if (this.e != null) e.equals(null) + if (this.e != null) e.propT + if (this.e != null) e.propAny + if (this.e != null) e.propNullableT + if (this.e != null) e.propNullableAny + if (this.e != null) e.funT() + if (this.e != null) e.funAny() + if (this.e != null) e.funNullableT() + if (this.e != null) e.funNullableAny() + if (this.e != null) e if (e != null) this.e.equals(null) if (e != null) this.e.propT if (e != null) this.e.propAny @@ -1884,16 +1884,16 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (e != null) this.e.funNullableT() if (e != null) this.e.funNullableAny() if (e != null) this.e - if (e != null || this.e != null) e.equals(null) - if (e != null || this.e != null) e.propT - if (e != null || this.e != null) e.propAny - if (e != null || this.e != null) e.propNullableT - if (e != null || this.e != null) e.propNullableAny - if (e != null || this.e != null) e.funT() - if (e != null || this.e != null) e.funAny() - if (e != null || this.e != null) e.funNullableT() - if (e != null || this.e != null) e.funNullableAny() - if (e != null || this.e != null) e + if (e != null || this.e != null) e.equals(null) + if (e != null || this.e != null) e.propT + if (e != null || this.e != null) e.propAny + if (e != null || this.e != null) e.propNullableT + if (e != null || this.e != null) e.propNullableAny + if (e != null || this.e != null) e.funT() + if (e != null || this.e != null) e.funAny() + if (e != null || this.e != null) e.funNullableT() + if (e != null || this.e != null) e.funNullableAny() + if (e != null || this.e != null) e if (e != null || this.e != null) this.e.equals(null) if (e != null || this.e != null) this.e.propT if (e != null || this.e != null) this.e.propAny @@ -1905,24 +1905,24 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (e != null || this.e != null) this.e.funNullableAny() if (e != null || this.e != null) this.e - if (f != null) f.equals(null) + if (f != null) f.equals(null) - if (f != null) f.propT + if (f != null) f.propT - if (f != null) f.propAny + if (f != null) f.propAny - if (f != null) f.propNullableT + if (f != null) f.propNullableT - if (f != null) f.propNullableAny + if (f != null) f.propNullableAny - if (f != null) f.funT() + if (f != null) f.funT() - if (f != null) f.funAny() + if (f != null) f.funAny() - if (f != null) f.funNullableT() + if (f != null) f.funNullableT() - if (f != null) f.funNullableAny() - if (f != null) f + if (f != null) f.funNullableAny() + if (f != null) f if (this.f != null) this.f.equals(null) if (this.f != null) this.f.propT if (this.f != null) this.f.propAny @@ -1933,16 +1933,16 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (this.f != null) this.f.funNullableT() if (this.f != null) this.f.funNullableAny() if (this.f != null) this.f - if (this.f != null) f.equals(null) - if (this.f != null) f.propT - if (this.f != null) f.propAny - if (this.f != null) f.propNullableT - if (this.f != null) f.propNullableAny - if (this.f != null) f.funT() - if (this.f != null) f.funAny() - if (this.f != null) f.funNullableT() - if (this.f != null) f.funNullableAny() - if (this.f != null) f + if (this.f != null) f.equals(null) + if (this.f != null) f.propT + if (this.f != null) f.propAny + if (this.f != null) f.propNullableT + if (this.f != null) f.propNullableAny + if (this.f != null) f.funT() + if (this.f != null) f.funAny() + if (this.f != null) f.funNullableT() + if (this.f != null) f.funNullableAny() + if (this.f != null) f if (f != null) this.f.equals(null) if (f != null) this.f.propT if (f != null) this.f.propAny @@ -1953,16 +1953,16 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (f != null) this.f.funNullableT() if (f != null) this.f.funNullableAny() if (f != null) this.f - if (f != null || this.f != null) f.equals(null) - if (f != null || this.f != null) f.propT - if (f != null || this.f != null) f.propAny - if (f != null || this.f != null) f.propNullableT - if (f != null || this.f != null) f.propNullableAny - if (f != null || this.f != null) f.funT() - if (f != null || this.f != null) f.funAny() - if (f != null || this.f != null) f.funNullableT() - if (f != null || this.f != null) f.funNullableAny() - if (f != null || this.f != null) f + if (f != null || this.f != null) f.equals(null) + if (f != null || this.f != null) f.propT + if (f != null || this.f != null) f.propAny + if (f != null || this.f != null) f.propNullableT + if (f != null || this.f != null) f.propNullableAny + if (f != null || this.f != null) f.funT() + if (f != null || this.f != null) f.funAny() + if (f != null || this.f != null) f.funNullableT() + if (f != null || this.f != null) f.funNullableAny() + if (f != null || this.f != null) f if (f != null || this.f != null) this.f.equals(null) if (f != null || this.f != null) this.f.propT if (f != null || this.f != null) this.f.propAny @@ -1974,24 +1974,24 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (f != null || this.f != null) this.f.funNullableAny() if (f != null || this.f != null) this.f - if (x != null) x.equals(null) + if (x != null) x.equals(null) - if (x != null) x.propT + if (x != null) x.propT - if (x != null) x.propAny + if (x != null) x.propAny - if (x != null) x.propNullableT + if (x != null) x.propNullableT - if (x != null) x.propNullableAny + if (x != null) x.propNullableAny - if (x != null) x.funT() + if (x != null) x.funT() - if (x != null) x.funAny() + if (x != null) x.funAny() - if (x != null) x.funNullableT() + if (x != null) x.funNullableT() - if (x != null) x.funNullableAny() - if (x != null) x + if (x != null) x.funNullableAny() + if (x != null) x if (this.x != null) this.x.equals(null) if (this.x != null) this.x.propT if (this.x != null) this.x.propAny @@ -2012,26 +2012,26 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (x != null) this.x.funNullableT() if (x != null) this.x.funNullableAny() if (x != null) this.x - if (this.x != null) x.equals(null) - if (this.x != null) x.propT - if (this.x != null) x.propAny - if (this.x != null) x.propNullableT - if (this.x != null) x.propNullableAny - if (this.x != null) x.funT() - if (this.x != null) x.funAny() - if (this.x != null) x.funNullableT() - if (this.x != null) x.funNullableAny() - if (this.x != null) x - if (x != null || this.x != null) x.equals(null) - if (x != null || this.x != null) x.propT - if (x != null || this.x != null) x.propAny - if (x != null || this.x != null) x.propNullableT - if (x != null || this.x != null) x.propNullableAny - if (x != null || this.x != null) x.funT() - if (x != null || this.x != null) x.funAny() - if (x != null || this.x != null) x.funNullableT() - if (x != null || this.x != null) x.funNullableAny() - if (x != null || this.x != null) x + if (this.x != null) x.equals(null) + if (this.x != null) x.propT + if (this.x != null) x.propAny + if (this.x != null) x.propNullableT + if (this.x != null) x.propNullableAny + if (this.x != null) x.funT() + if (this.x != null) x.funAny() + if (this.x != null) x.funNullableT() + if (this.x != null) x.funNullableAny() + if (this.x != null) x + if (x != null || this.x != null) x.equals(null) + if (x != null || this.x != null) x.propT + if (x != null || this.x != null) x.propAny + if (x != null || this.x != null) x.propNullableT + if (x != null || this.x != null) x.propNullableAny + if (x != null || this.x != null) x.funT() + if (x != null || this.x != null) x.funAny() + if (x != null || this.x != null) x.funNullableT() + if (x != null || this.x != null) x.funNullableAny() + if (x != null || this.x != null) x if (x != null || this.x != null) this.x.equals(null) if (x != null || this.x != null) this.x.propT if (x != null || this.x != null) this.x.propAny @@ -2043,24 +2043,24 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (x != null || this.x != null) this.x.funNullableAny() if (x != null || this.x != null) this.x - if (y != null) y.equals(null) + if (y != null) y.equals(null) - if (y != null) y.propT + if (y != null) y.propT - if (y != null) y.propAny + if (y != null) y.propAny - if (y != null) y.propNullableT + if (y != null) y.propNullableT - if (y != null) y.propNullableAny + if (y != null) y.propNullableAny - if (y != null) y.funT() + if (y != null) y.funT() - if (y != null) y.funAny() + if (y != null) y.funAny() - if (y != null) y.funNullableT() + if (y != null) y.funNullableT() - if (y != null) y.funNullableAny() - if (y != null) y + if (y != null) y.funNullableAny() + if (y != null) y if (this.y != null) this.y.equals(null) if (this.y != null) this.y.propT if (this.y != null) this.y.propAny @@ -2071,16 +2071,16 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (this.y != null) this.y.funNullableT() if (this.y != null) this.y.funNullableAny() if (this.y != null) this.y - if (this.y != null) y.equals(null) - if (this.y != null) y.propT - if (this.y != null) y.propAny - if (this.y != null) y.propNullableT - if (this.y != null) y.propNullableAny - if (this.y != null) y.funT() - if (this.y != null) y.funAny() - if (this.y != null) y.funNullableT() - if (this.y != null) y.funNullableAny() - if (this.y != null) y + if (this.y != null) y.equals(null) + if (this.y != null) y.propT + if (this.y != null) y.propAny + if (this.y != null) y.propNullableT + if (this.y != null) y.propNullableAny + if (this.y != null) y.funT() + if (this.y != null) y.funAny() + if (this.y != null) y.funNullableT() + if (this.y != null) y.funNullableAny() + if (this.y != null) y if (y != null) this.y.equals(null) if (y != null) this.y.propT if (y != null) this.y.propAny @@ -2091,16 +2091,16 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (y != null) this.y.funNullableT() if (y != null) this.y.funNullableAny() if (y != null) this.y - if (y != null || this.y != null) y.equals(null) - if (y != null || this.y != null) y.propT - if (y != null || this.y != null) y.propAny - if (y != null || this.y != null) y.propNullableT - if (y != null || this.y != null) y.propNullableAny - if (y != null || this.y != null) y.funT() - if (y != null || this.y != null) y.funAny() - if (y != null || this.y != null) y.funNullableT() - if (y != null || this.y != null) y.funNullableAny() - if (y != null || this.y != null) y + if (y != null || this.y != null) y.equals(null) + if (y != null || this.y != null) y.propT + if (y != null || this.y != null) y.propAny + if (y != null || this.y != null) y.propNullableT + if (y != null || this.y != null) y.propNullableAny + if (y != null || this.y != null) y.funT() + if (y != null || this.y != null) y.funAny() + if (y != null || this.y != null) y.funNullableT() + if (y != null || this.y != null) y.funNullableAny() + if (y != null || this.y != null) y if (y != null || this.y != null) this.y.equals(null) if (y != null || this.y != null) this.y.propT if (y != null || this.y != null) this.y.propAny @@ -2112,24 +2112,24 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (y != null || this.y != null) this.y.funNullableAny() if (y != null || this.y != null) this.y - if (z != null) z.equals(null) + if (z != null) z.equals(null) - if (z != null) z.propT + if (z != null) z.propT - if (z != null) z.propAny + if (z != null) z.propAny - if (z != null) z.propNullableT + if (z != null) z.propNullableT - if (z != null) z.propNullableAny + if (z != null) z.propNullableAny - if (z != null) z.funT() + if (z != null) z.funT() - if (z != null) z.funAny() + if (z != null) z.funAny() - if (z != null) z.funNullableT() + if (z != null) z.funNullableT() - if (z != null) z.funNullableAny() - if (z != null) z + if (z != null) z.funNullableAny() + if (z != null) z if (this.z != null) this.z.equals(null) if (this.z != null) this.z.propT if (this.z != null) this.z.propAny @@ -2150,26 +2150,26 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (z != null) this.z.funNullableT() if (z != null) this.z.funNullableAny() if (z != null) this.z - if (this.z != null) z.equals(null) - if (this.z != null) z.propT - if (this.z != null) z.propAny - if (this.z != null) z.propNullableT - if (this.z != null) z.propNullableAny - if (this.z != null) z.funT() - if (this.z != null) z.funAny() - if (this.z != null) z.funNullableT() - if (this.z != null) z.funNullableAny() - if (this.z != null) z - if (z != null || this.z != null) z.equals(null) - if (z != null || this.z != null) z.propT - if (z != null || this.z != null) z.propAny - if (z != null || this.z != null) z.propNullableT - if (z != null || this.z != null) z.propNullableAny - if (z != null || this.z != null) z.funT() - if (z != null || this.z != null) z.funAny() - if (z != null || this.z != null) z.funNullableT() - if (z != null || this.z != null) z.funNullableAny() - if (z != null || this.z != null) z + if (this.z != null) z.equals(null) + if (this.z != null) z.propT + if (this.z != null) z.propAny + if (this.z != null) z.propNullableT + if (this.z != null) z.propNullableAny + if (this.z != null) z.funT() + if (this.z != null) z.funAny() + if (this.z != null) z.funNullableT() + if (this.z != null) z.funNullableAny() + if (this.z != null) z + if (z != null || this.z != null) z.equals(null) + if (z != null || this.z != null) z.propT + if (z != null || this.z != null) z.propAny + if (z != null || this.z != null) z.propNullableT + if (z != null || this.z != null) z.propNullableAny + if (z != null || this.z != null) z.funT() + if (z != null || this.z != null) z.funAny() + if (z != null || this.z != null) z.funNullableT() + if (z != null || this.z != null) z.funNullableAny() + if (z != null || this.z != null) z if (z != null || this.z != null) this.z.equals(null) if (z != null || this.z != null) this.z.propT if (z != null || this.z != null) this.z.propAny @@ -2181,24 +2181,24 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (z != null || this.z != null) this.z.funNullableAny() if (z != null || this.z != null) this.z - if (u != null) u.equals(null) + if (u != null) u.equals(null) - if (u != null) u.propT + if (u != null) u.propT - if (u != null) u.propAny + if (u != null) u.propAny - if (u != null) u.propNullableT + if (u != null) u.propNullableT - if (u != null) u.propNullableAny + if (u != null) u.propNullableAny - if (u != null) u.funT() + if (u != null) u.funT() - if (u != null) u.funAny() + if (u != null) u.funAny() - if (u != null) u.funNullableT() + if (u != null) u.funNullableT() - if (u != null) u.funNullableAny() - if (u != null) u + if (u != null) u.funNullableAny() + if (u != null) u if (this.u != null) this.u.equals(null) if (this.u != null) this.u.propT if (this.u != null) this.u.propAny @@ -2209,16 +2209,16 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (this.u != null) this.u.funNullableT() if (this.u != null) this.u.funNullableAny() if (this.u != null) this.u - if (this.u != null) u.equals(null) - if (this.u != null) u.propT - if (this.u != null) u.propAny - if (this.u != null) u.propNullableT - if (this.u != null) u.propNullableAny - if (this.u != null) u.funT() - if (this.u != null) u.funAny() - if (this.u != null) u.funNullableT() - if (this.u != null) u.funNullableAny() - if (this.u != null) u + if (this.u != null) u.equals(null) + if (this.u != null) u.propT + if (this.u != null) u.propAny + if (this.u != null) u.propNullableT + if (this.u != null) u.propNullableAny + if (this.u != null) u.funT() + if (this.u != null) u.funAny() + if (this.u != null) u.funNullableT() + if (this.u != null) u.funNullableAny() + if (this.u != null) u if (u != null) this.u.equals(null) if (u != null) this.u.propT if (u != null) this.u.propAny @@ -2229,16 +2229,16 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (u != null) this.u.funNullableT() if (u != null) this.u.funNullableAny() if (u != null) this.u - if (u != null || this.u != null) u.equals(null) - if (u != null || this.u != null) u.propT - if (u != null || this.u != null) u.propAny - if (u != null || this.u != null) u.propNullableT - if (u != null || this.u != null) u.propNullableAny - if (u != null || this.u != null) u.funT() - if (u != null || this.u != null) u.funAny() - if (u != null || this.u != null) u.funNullableT() - if (u != null || this.u != null) u.funNullableAny() - if (u != null || this.u != null) u + if (u != null || this.u != null) u.equals(null) + if (u != null || this.u != null) u.propT + if (u != null || this.u != null) u.propAny + if (u != null || this.u != null) u.propNullableT + if (u != null || this.u != null) u.propNullableAny + if (u != null || this.u != null) u.funT() + if (u != null || this.u != null) u.funAny() + if (u != null || this.u != null) u.funNullableT() + if (u != null || this.u != null) u.funNullableAny() + if (u != null || this.u != null) u if (u != null || this.u != null) this.u.equals(null) if (u != null || this.u != null) this.u.propT if (u != null || this.u != null) this.u.propAny @@ -2251,46 +2251,46 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (u != null || this.u != null) this.u v = 0 - v.equals(null) - v.propT - v.propAny - v.propNullableT - v.propNullableAny - v.funT() - v.funAny() - v.funNullableT() - v.funNullableAny() - v - if (v != null) v.equals(null) - if (v != null) v.propT - if (v != null) v.propAny - if (v != null) v.propNullableT - if (v != null) v.propNullableAny - if (v != null) v.funT() - if (v != null) v.funAny() - if (v != null) v.funNullableT() - if (v != null) v.funNullableAny() - if (v != null) v - if (this.v != null) v.equals(null) - if (this.v != null) v.propT - if (this.v != null) v.propAny - if (this.v != null) v.propNullableT - if (this.v != null) v.propNullableAny - if (this.v != null) v.funT() - if (this.v != null) v.funAny() - if (this.v != null) v.funNullableT() - if (this.v != null) v.funNullableAny() - if (this.v != null) v - if (v != null || this.v != null) v.equals(null) - if (v != null || this.v != null) v.propT - if (v != null || this.v != null) v.propAny - if (v != null || this.v != null) v.propNullableT - if (v != null || this.v != null) v.propNullableAny - if (v != null || this.v != null) v.funT() - if (v != null || this.v != null) v.funAny() - if (v != null || this.v != null) v.funNullableT() - if (v != null || this.v != null) v.funNullableAny() - if (v != null || this.v != null) v + v.equals(null) + v.propT + v.propAny + v.propNullableT + v.propNullableAny + v.funT() + v.funAny() + v.funNullableT() + v.funNullableAny() + v + if (v != null) v.equals(null) + if (v != null) v.propT + if (v != null) v.propAny + if (v != null) v.propNullableT + if (v != null) v.propNullableAny + if (v != null) v.funT() + if (v != null) v.funAny() + if (v != null) v.funNullableT() + if (v != null) v.funNullableAny() + if (v != null) v + if (this.v != null) v.equals(null) + if (this.v != null) v.propT + if (this.v != null) v.propAny + if (this.v != null) v.propNullableT + if (this.v != null) v.propNullableAny + if (this.v != null) v.funT() + if (this.v != null) v.funAny() + if (this.v != null) v.funNullableT() + if (this.v != null) v.funNullableAny() + if (this.v != null) v + if (v != null || this.v != null) v.equals(null) + if (v != null || this.v != null) v.propT + if (v != null || this.v != null) v.propAny + if (v != null || this.v != null) v.propNullableT + if (v != null || this.v != null) v.propNullableAny + if (v != null || this.v != null) v.funT() + if (v != null || this.v != null) v.funAny() + if (v != null || this.v != null) v.funNullableT() + if (v != null || this.v != null) v.funNullableAny() + if (v != null || this.v != null) v if (v != null || this.v != null) this.v.equals(null) if (v != null || this.v != null) this.v.propT if (v != null || this.v != null) this.v.propAny @@ -2303,37 +2303,37 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val if (v != null || this.v != null) this.v w = if (null != null) 10 else null - w - if (w != null) w.equals(null) - if (w != null) w.propT - if (w != null) w.propAny - if (w != null) w.propNullableT - if (w != null) w.propNullableAny - if (w != null) w.funT() - if (w != null) w.funAny() - if (w != null) w.funNullableT() - if (w != null) w.funNullableAny() - if (w != null) w - if (this.w != null) w.equals(null) - if (this.w != null) w.propT - if (this.w != null) w.propAny - if (this.w != null) w.propNullableT - if (this.w != null) w.propNullableAny - if (this.w != null) w.funT() - if (this.w != null) w.funAny() - if (this.w != null) w.funNullableT() - if (this.w != null) w.funNullableAny() - if (this.w != null) w - if (w != null || this.w != null) w.equals(null) - if (w != null || this.w != null) w.propT - if (w != null || this.w != null) w.propAny - if (w != null || this.w != null) w.propNullableT - if (w != null || this.w != null) w.propNullableAny - if (w != null || this.w != null) w.funT() - if (w != null || this.w != null) w.funAny() - if (w != null || this.w != null) w.funNullableT() - if (w != null || this.w != null) w.funNullableAny() - if (w != null || this.w != null) w + w + if (w != null) w.equals(null) + if (w != null) w.propT + if (w != null) w.propAny + if (w != null) w.propNullableT + if (w != null) w.propNullableAny + if (w != null) w.funT() + if (w != null) w.funAny() + if (w != null) w.funNullableT() + if (w != null) w.funNullableAny() + if (w != null) w + if (this.w != null) w.equals(null) + if (this.w != null) w.propT + if (this.w != null) w.propAny + if (this.w != null) w.propNullableT + if (this.w != null) w.propNullableAny + if (this.w != null) w.funT() + if (this.w != null) w.funAny() + if (this.w != null) w.funNullableT() + if (this.w != null) w.funNullableAny() + if (this.w != null) w + if (w != null || this.w != null) w.equals(null) + if (w != null || this.w != null) w.propT + if (w != null || this.w != null) w.propAny + if (w != null || this.w != null) w.propNullableT + if (w != null || this.w != null) w.propNullableAny + if (w != null || this.w != null) w.funT() + if (w != null || this.w != null) w.funAny() + if (w != null || this.w != null) w.funNullableT() + if (w != null || this.w != null) w.funNullableAny() + if (w != null || this.w != null) w if (w != null || this.w != null) this.w.equals(null) if (w != null || this.w != null) this.w.propT if (w != null || this.w != null) this.w.propAny @@ -2348,232 +2348,232 @@ sealed class Case30(a: Int?, val b: Float?, private val c: Unit?, protected val s = null s.hashCode() s - if (s != null) s - if (this.s != null) s - if (s != null || this.s != null) s + if (s != null) s + if (this.s != null) s + if (s != null || this.s != null) s if (s != null || this.s != null) this.s } fun test() { - if (b != null) b.equals(null) - if (b != null) b.propT - if (b != null) b.propAny - if (b != null) b.propNullableT - if (b != null) b.propNullableAny - if (b != null) b.funT() - if (b != null) b.funAny() - if (b != null) b.funNullableT() - if (b != null) b.funNullableAny() - if (b != null) b + if (b != null) b.equals(null) + if (b != null) b.propT + if (b != null) b.propAny + if (b != null) b.propNullableT + if (b != null) b.propNullableAny + if (b != null) b.funT() + if (b != null) b.funAny() + if (b != null) b.funNullableT() + if (b != null) b.funNullableAny() + if (b != null) b - if (c != null) c.equals(null) + if (c != null) c.equals(null) - if (c != null) c.propT + if (c != null) c.propT - if (c != null) c.propAny + if (c != null) c.propAny - if (c != null) c.propNullableT + if (c != null) c.propNullableT - if (c != null) c.propNullableAny + if (c != null) c.propNullableAny - if (c != null) c.funT() + if (c != null) c.funT() - if (c != null) c.funAny() + if (c != null) c.funAny() - if (c != null) c.funNullableT() + if (c != null) c.funNullableT() - if (c != null) c.funNullableAny() - if (c != null) c + if (c != null) c.funNullableAny() + if (c != null) c - if (d != null) d.equals(null) + if (d != null) d.equals(null) - if (d != null) d.propT + if (d != null) d.propT - if (d != null) d.propAny + if (d != null) d.propAny - if (d != null) d.propNullableT + if (d != null) d.propNullableT - if (d != null) d.propNullableAny + if (d != null) d.propNullableAny - if (d != null) d.funT() + if (d != null) d.funT() - if (d != null) d.funAny() + if (d != null) d.funAny() - if (d != null) d.funNullableT() + if (d != null) d.funNullableT() - if (d != null) d.funNullableAny() - if (d != null) d + if (d != null) d.funNullableAny() + if (d != null) d - if (e != null) e.equals(null) + if (e != null) e.equals(null) - if (e != null) e.propT + if (e != null) e.propT - if (e != null) e.propAny + if (e != null) e.propAny - if (e != null) e.propNullableT + if (e != null) e.propNullableT - if (e != null) e.propNullableAny + if (e != null) e.propNullableAny - if (e != null) e.funT() + if (e != null) e.funT() - if (e != null) e.funAny() + if (e != null) e.funAny() - if (e != null) e.funNullableT() + if (e != null) e.funNullableT() - if (e != null) e.funNullableAny() - if (e != null) e + if (e != null) e.funNullableAny() + if (e != null) e - if (f != null) f.equals(null) + if (f != null) f.equals(null) - if (f != null) f.propT + if (f != null) f.propT - if (f != null) f.propAny + if (f != null) f.propAny - if (f != null) f.propNullableT + if (f != null) f.propNullableT - if (f != null) f.propNullableAny + if (f != null) f.propNullableAny - if (f != null) f.funT() + if (f != null) f.funT() - if (f != null) f.funAny() + if (f != null) f.funAny() - if (f != null) f.funNullableT() + if (f != null) f.funNullableT() - if (f != null) f.funNullableAny() - if (f != null) f + if (f != null) f.funNullableAny() + if (f != null) f - if (x != null) x.equals(null) + if (x != null) x.equals(null) - if (x != null) x.propT + if (x != null) x.propT - if (x != null) x.propAny + if (x != null) x.propAny - if (x != null) x.propNullableT + if (x != null) x.propNullableT - if (x != null) x.propNullableAny + if (x != null) x.propNullableAny - if (x != null) x.funT() + if (x != null) x.funT() - if (x != null) x.funAny() + if (x != null) x.funAny() - if (x != null) x.funNullableT() + if (x != null) x.funNullableT() - if (x != null) x.funNullableAny() - if (x != null) x + if (x != null) x.funNullableAny() + if (x != null) x - if (y != null) y.equals(null) + if (y != null) y.equals(null) - if (y != null) y.propT + if (y != null) y.propT - if (y != null) y.propAny + if (y != null) y.propAny - if (y != null) y.propNullableT + if (y != null) y.propNullableT - if (y != null) y.propNullableAny + if (y != null) y.propNullableAny - if (y != null) y.funT() + if (y != null) y.funT() - if (y != null) y.funAny() + if (y != null) y.funAny() - if (y != null) y.funNullableT() + if (y != null) y.funNullableT() - if (y != null) y.funNullableAny() - if (y != null) y + if (y != null) y.funNullableAny() + if (y != null) y - if (z != null) z.equals(null) + if (z != null) z.equals(null) - if (z != null) z.propT + if (z != null) z.propT - if (z != null) z.propAny + if (z != null) z.propAny - if (z != null) z.propNullableT + if (z != null) z.propNullableT - if (z != null) z.propNullableAny + if (z != null) z.propNullableAny - if (z != null) z.funT() + if (z != null) z.funT() - if (z != null) z.funAny() + if (z != null) z.funAny() - if (z != null) z.funNullableT() + if (z != null) z.funNullableT() - if (z != null) z.funNullableAny() - if (z != null) z + if (z != null) z.funNullableAny() + if (z != null) z - if (u != null) u.equals(null) + if (u != null) u.equals(null) - if (u != null) u.propT + if (u != null) u.propT - if (u != null) u.propAny + if (u != null) u.propAny - if (u != null) u.propNullableT + if (u != null) u.propNullableT - if (u != null) u.propNullableAny + if (u != null) u.propNullableAny - if (u != null) u.funT() + if (u != null) u.funT() - if (u != null) u.funAny() + if (u != null) u.funAny() - if (u != null) u.funNullableT() + if (u != null) u.funNullableT() - if (u != null) u.funNullableAny() - if (u != null) u + if (u != null) u.funNullableAny() + if (u != null) u - if (v != null) v.equals(null) + if (v != null) v.equals(null) - if (v != null) v.propT + if (v != null) v.propT - if (v != null) v.propAny + if (v != null) v.propAny - if (v != null) v.propNullableT + if (v != null) v.propNullableT - if (v != null) v.propNullableAny + if (v != null) v.propNullableAny - if (v != null) v.funT() + if (v != null) v.funT() - if (v != null) v.funAny() + if (v != null) v.funAny() - if (v != null) v.funNullableT() + if (v != null) v.funNullableT() - if (v != null) v.funNullableAny() - if (v != null) v + if (v != null) v.funNullableAny() + if (v != null) v - if (w != null) w.equals(null) + if (w != null) w.equals(null) - if (w != null) w.propT + if (w != null) w.propT - if (w != null) w.propAny + if (w != null) w.propAny - if (w != null) w.propNullableT + if (w != null) w.propNullableT - if (w != null) w.propNullableAny + if (w != null) w.propNullableAny - if (w != null) w.funT() + if (w != null) w.funT() - if (w != null) w.funAny() + if (w != null) w.funAny() - if (w != null) w.funNullableT() + if (w != null) w.funNullableT() - if (w != null) w.funNullableAny() - if (w != null) w + if (w != null) w.funNullableAny() + if (w != null) w - if (s != null) s.equals(null) + if (s != null) s.equals(null) - if (s != null) s.propT + if (s != null) s.propT - if (s != null) s.propAny + if (s != null) s.propAny - if (s != null) s.propNullableT + if (s != null) s.propNullableT - if (s != null) s.propNullableAny + if (s != null) s.propNullableAny - if (s != null) s.funT() + if (s != null) s.funT() - if (s != null) s.funAny() + if (s != null) s.funAny() - if (s != null) s.funNullableT() + if (s != null) s.funNullableT() - if (s != null) s.funNullableAny() - if (s != null) s + if (s != null) s.funNullableAny() + if (s != null) s } } @@ -2664,35 +2664,35 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: val t: String? = if (u != null) this.u else null init { - if (a != null) a.equals(null) - if (a != null) a.propT - if (a != null) a.propAny - if (a != null) a.propNullableT - if (a != null) a.propNullableAny - if (a != null) a.funT() - if (a != null) a.funAny() - if (a != null) a.funNullableT() - if (a != null) a.funNullableAny() - if (a != null) a + if (a != null) a.equals(null) + if (a != null) a.propT + if (a != null) a.propAny + if (a != null) a.propNullableT + if (a != null) a.propNullableAny + if (a != null) a.funT() + if (a != null) a.funAny() + if (a != null) a.funNullableT() + if (a != null) a.funNullableAny() + if (a != null) a - if (b != null) b.equals(null) + if (b != null) b.equals(null) - if (b != null) b.propT + if (b != null) b.propT - if (b != null) b.propAny + if (b != null) b.propAny - if (b != null) b.propNullableT + if (b != null) b.propNullableT - if (b != null) b.propNullableAny + if (b != null) b.propNullableAny - if (b != null) b.funT() + if (b != null) b.funT() - if (b != null) b.funAny() + if (b != null) b.funAny() - if (b != null) b.funNullableT() + if (b != null) b.funNullableT() - if (b != null) b.funNullableAny() - if (b != null) b + if (b != null) b.funNullableAny() + if (b != null) b if (this.b != null) this.b.equals(null) if (this.b != null) this.b.propT if (this.b != null) this.b.propAny @@ -2703,16 +2703,16 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (this.b != null) this.b.funNullableT() if (this.b != null) this.b.funNullableAny() if (this.b != null) this.b - if (this.b != null) b.equals(null) - if (this.b != null) b.propT - if (this.b != null) b.propAny - if (this.b != null) b.propNullableT - if (this.b != null) b.propNullableAny - if (this.b != null) b.funT() - if (this.b != null) b.funAny() - if (this.b != null) b.funNullableT() - if (this.b != null) b.funNullableAny() - if (this.b != null) b + if (this.b != null) b.equals(null) + if (this.b != null) b.propT + if (this.b != null) b.propAny + if (this.b != null) b.propNullableT + if (this.b != null) b.propNullableAny + if (this.b != null) b.funT() + if (this.b != null) b.funAny() + if (this.b != null) b.funNullableT() + if (this.b != null) b.funNullableAny() + if (this.b != null) b if (b != null) this.b.equals(null) if (b != null) this.b.propT if (b != null) this.b.propAny @@ -2723,16 +2723,16 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (b != null) this.b.funNullableT() if (b != null) this.b.funNullableAny() if (b != null) this.b - if (b != null || this.b != null) b.equals(null) - if (b != null || this.b != null) b.propT - if (b != null || this.b != null) b.propAny - if (b != null || this.b != null) b.propNullableT - if (b != null || this.b != null) b.propNullableAny - if (b != null || this.b != null) b.funT() - if (b != null || this.b != null) b.funAny() - if (b != null || this.b != null) b.funNullableT() - if (b != null || this.b != null) b.funNullableAny() - if (b != null || this.b != null) b + if (b != null || this.b != null) b.equals(null) + if (b != null || this.b != null) b.propT + if (b != null || this.b != null) b.propAny + if (b != null || this.b != null) b.propNullableT + if (b != null || this.b != null) b.propNullableAny + if (b != null || this.b != null) b.funT() + if (b != null || this.b != null) b.funAny() + if (b != null || this.b != null) b.funNullableT() + if (b != null || this.b != null) b.funNullableAny() + if (b != null || this.b != null) b if (b != null || this.b != null) this.b.equals(null) if (b != null || this.b != null) this.b.propT if (b != null || this.b != null) this.b.propAny @@ -2744,24 +2744,24 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (b != null || this.b != null) this.b.funNullableAny() if (b != null || this.b != null) this.b - if (c != null) c.equals(null) + if (c != null) c.equals(null) - if (c != null) c.propT + if (c != null) c.propT - if (c != null) c.propAny + if (c != null) c.propAny - if (c != null) c.propNullableT + if (c != null) c.propNullableT - if (c != null) c.propNullableAny + if (c != null) c.propNullableAny - if (c != null) c.funT() + if (c != null) c.funT() - if (c != null) c.funAny() + if (c != null) c.funAny() - if (c != null) c.funNullableT() + if (c != null) c.funNullableT() - if (c != null) c.funNullableAny() - if (c != null) c + if (c != null) c.funNullableAny() + if (c != null) c if (this.c != null) this.c.equals(null) if (this.c != null) this.c.propT if (this.c != null) this.c.propAny @@ -2782,26 +2782,26 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (c != null) this.c.funNullableT() if (c != null) this.c.funNullableAny() if (c != null) this.c - if (this.c != null) c.equals(null) - if (this.c != null) c.propT - if (this.c != null) c.propAny - if (this.c != null) c.propNullableT - if (this.c != null) c.propNullableAny - if (this.c != null) c.funT() - if (this.c != null) c.funAny() - if (this.c != null) c.funNullableT() - if (this.c != null) c.funNullableAny() - if (this.c != null) c - if (c != null || this.c != null) c.equals(null) - if (c != null || this.c != null) c.propT - if (c != null || this.c != null) c.propAny - if (c != null || this.c != null) c.propNullableT - if (c != null || this.c != null) c.propNullableAny - if (c != null || this.c != null) c.funT() - if (c != null || this.c != null) c.funAny() - if (c != null || this.c != null) c.funNullableT() - if (c != null || this.c != null) c.funNullableAny() - if (c != null || this.c != null) c + if (this.c != null) c.equals(null) + if (this.c != null) c.propT + if (this.c != null) c.propAny + if (this.c != null) c.propNullableT + if (this.c != null) c.propNullableAny + if (this.c != null) c.funT() + if (this.c != null) c.funAny() + if (this.c != null) c.funNullableT() + if (this.c != null) c.funNullableAny() + if (this.c != null) c + if (c != null || this.c != null) c.equals(null) + if (c != null || this.c != null) c.propT + if (c != null || this.c != null) c.propAny + if (c != null || this.c != null) c.propNullableT + if (c != null || this.c != null) c.propNullableAny + if (c != null || this.c != null) c.funT() + if (c != null || this.c != null) c.funAny() + if (c != null || this.c != null) c.funNullableT() + if (c != null || this.c != null) c.funNullableAny() + if (c != null || this.c != null) c if (c != null || this.c != null) this.c.equals(null) if (c != null || this.c != null) this.c.propT if (c != null || this.c != null) this.c.propAny @@ -2813,24 +2813,24 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (c != null || this.c != null) this.c.funNullableAny() if (c != null || this.c != null) this.c - if (d != null) d.equals(null) + if (d != null) d.equals(null) - if (d != null) d.propT + if (d != null) d.propT - if (d != null) d.propAny + if (d != null) d.propAny - if (d != null) d.propNullableT + if (d != null) d.propNullableT - if (d != null) d.propNullableAny + if (d != null) d.propNullableAny - if (d != null) d.funT() + if (d != null) d.funT() - if (d != null) d.funAny() + if (d != null) d.funAny() - if (d != null) d.funNullableT() + if (d != null) d.funNullableT() - if (d != null) d.funNullableAny() - if (d != null) d + if (d != null) d.funNullableAny() + if (d != null) d if (this.d != null) this.d.equals(null) if (this.d != null) this.d.propT if (this.d != null) this.d.propAny @@ -2851,26 +2851,26 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (d != null) this.d.funNullableT() if (d != null) this.d.funNullableAny() if (d != null) this.d - if (this.d != null) d.equals(null) - if (this.d != null) d.propT - if (this.d != null) d.propAny - if (this.d != null) d.propNullableT - if (this.d != null) d.propNullableAny - if (this.d != null) d.funT() - if (this.d != null) d.funAny() - if (this.d != null) d.funNullableT() - if (this.d != null) d.funNullableAny() - if (this.d != null) d - if (d != null || this.d != null) d.equals(null) - if (d != null || this.d != null) d.propT - if (d != null || this.d != null) d.propAny - if (d != null || this.d != null) d.propNullableT - if (d != null || this.d != null) d.propNullableAny - if (d != null || this.d != null) d.funT() - if (d != null || this.d != null) d.funAny() - if (d != null || this.d != null) d.funNullableT() - if (d != null || this.d != null) d.funNullableAny() - if (d != null || this.d != null) d + if (this.d != null) d.equals(null) + if (this.d != null) d.propT + if (this.d != null) d.propAny + if (this.d != null) d.propNullableT + if (this.d != null) d.propNullableAny + if (this.d != null) d.funT() + if (this.d != null) d.funAny() + if (this.d != null) d.funNullableT() + if (this.d != null) d.funNullableAny() + if (this.d != null) d + if (d != null || this.d != null) d.equals(null) + if (d != null || this.d != null) d.propT + if (d != null || this.d != null) d.propAny + if (d != null || this.d != null) d.propNullableT + if (d != null || this.d != null) d.propNullableAny + if (d != null || this.d != null) d.funT() + if (d != null || this.d != null) d.funAny() + if (d != null || this.d != null) d.funNullableT() + if (d != null || this.d != null) d.funNullableAny() + if (d != null || this.d != null) d if (d != null || this.d != null) this.d.equals(null) if (d != null || this.d != null) this.d.propT if (d != null || this.d != null) this.d.propAny @@ -2882,24 +2882,24 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (d != null || this.d != null) this.d.funNullableAny() if (d != null || this.d != null) this.d - if (e != null) e.equals(null) + if (e != null) e.equals(null) - if (e != null) e.propT + if (e != null) e.propT - if (e != null) e.propAny + if (e != null) e.propAny - if (e != null) e.propNullableT + if (e != null) e.propNullableT - if (e != null) e.propNullableAny + if (e != null) e.propNullableAny - if (e != null) e.funT() + if (e != null) e.funT() - if (e != null) e.funAny() + if (e != null) e.funAny() - if (e != null) e.funNullableT() + if (e != null) e.funNullableT() - if (e != null) e.funNullableAny() - if (e != null) e + if (e != null) e.funNullableAny() + if (e != null) e if (this.e != null) this.e.equals(null) if (this.e != null) this.e.propT if (this.e != null) this.e.propAny @@ -2910,16 +2910,16 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (this.e != null) this.e.funNullableT() if (this.e != null) this.e.funNullableAny() if (this.e != null) this.e - if (this.e != null) e.equals(null) - if (this.e != null) e.propT - if (this.e != null) e.propAny - if (this.e != null) e.propNullableT - if (this.e != null) e.propNullableAny - if (this.e != null) e.funT() - if (this.e != null) e.funAny() - if (this.e != null) e.funNullableT() - if (this.e != null) e.funNullableAny() - if (this.e != null) e + if (this.e != null) e.equals(null) + if (this.e != null) e.propT + if (this.e != null) e.propAny + if (this.e != null) e.propNullableT + if (this.e != null) e.propNullableAny + if (this.e != null) e.funT() + if (this.e != null) e.funAny() + if (this.e != null) e.funNullableT() + if (this.e != null) e.funNullableAny() + if (this.e != null) e if (e != null) this.e.equals(null) if (e != null) this.e.propT if (e != null) this.e.propAny @@ -2930,16 +2930,16 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (e != null) this.e.funNullableT() if (e != null) this.e.funNullableAny() if (e != null) this.e - if (e != null || this.e != null) e.equals(null) - if (e != null || this.e != null) e.propT - if (e != null || this.e != null) e.propAny - if (e != null || this.e != null) e.propNullableT - if (e != null || this.e != null) e.propNullableAny - if (e != null || this.e != null) e.funT() - if (e != null || this.e != null) e.funAny() - if (e != null || this.e != null) e.funNullableT() - if (e != null || this.e != null) e.funNullableAny() - if (e != null || this.e != null) e + if (e != null || this.e != null) e.equals(null) + if (e != null || this.e != null) e.propT + if (e != null || this.e != null) e.propAny + if (e != null || this.e != null) e.propNullableT + if (e != null || this.e != null) e.propNullableAny + if (e != null || this.e != null) e.funT() + if (e != null || this.e != null) e.funAny() + if (e != null || this.e != null) e.funNullableT() + if (e != null || this.e != null) e.funNullableAny() + if (e != null || this.e != null) e if (e != null || this.e != null) this.e.equals(null) if (e != null || this.e != null) this.e.propT if (e != null || this.e != null) this.e.propAny @@ -2951,24 +2951,24 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (e != null || this.e != null) this.e.funNullableAny() if (e != null || this.e != null) this.e - if (f != null) f.equals(null) + if (f != null) f.equals(null) - if (f != null) f.propT + if (f != null) f.propT - if (f != null) f.propAny + if (f != null) f.propAny - if (f != null) f.propNullableT + if (f != null) f.propNullableT - if (f != null) f.propNullableAny + if (f != null) f.propNullableAny - if (f != null) f.funT() + if (f != null) f.funT() - if (f != null) f.funAny() + if (f != null) f.funAny() - if (f != null) f.funNullableT() + if (f != null) f.funNullableT() - if (f != null) f.funNullableAny() - if (f != null) f + if (f != null) f.funNullableAny() + if (f != null) f if (this.f != null) this.f.equals(null) if (this.f != null) this.f.propT if (this.f != null) this.f.propAny @@ -2979,16 +2979,16 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (this.f != null) this.f.funNullableT() if (this.f != null) this.f.funNullableAny() if (this.f != null) this.f - if (this.f != null) f.equals(null) - if (this.f != null) f.propT - if (this.f != null) f.propAny - if (this.f != null) f.propNullableT - if (this.f != null) f.propNullableAny - if (this.f != null) f.funT() - if (this.f != null) f.funAny() - if (this.f != null) f.funNullableT() - if (this.f != null) f.funNullableAny() - if (this.f != null) f + if (this.f != null) f.equals(null) + if (this.f != null) f.propT + if (this.f != null) f.propAny + if (this.f != null) f.propNullableT + if (this.f != null) f.propNullableAny + if (this.f != null) f.funT() + if (this.f != null) f.funAny() + if (this.f != null) f.funNullableT() + if (this.f != null) f.funNullableAny() + if (this.f != null) f if (f != null) this.f.equals(null) if (f != null) this.f.propT if (f != null) this.f.propAny @@ -2999,16 +2999,16 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (f != null) this.f.funNullableT() if (f != null) this.f.funNullableAny() if (f != null) this.f - if (f != null || this.f != null) f.equals(null) - if (f != null || this.f != null) f.propT - if (f != null || this.f != null) f.propAny - if (f != null || this.f != null) f.propNullableT - if (f != null || this.f != null) f.propNullableAny - if (f != null || this.f != null) f.funT() - if (f != null || this.f != null) f.funAny() - if (f != null || this.f != null) f.funNullableT() - if (f != null || this.f != null) f.funNullableAny() - if (f != null || this.f != null) f + if (f != null || this.f != null) f.equals(null) + if (f != null || this.f != null) f.propT + if (f != null || this.f != null) f.propAny + if (f != null || this.f != null) f.propNullableT + if (f != null || this.f != null) f.propNullableAny + if (f != null || this.f != null) f.funT() + if (f != null || this.f != null) f.funAny() + if (f != null || this.f != null) f.funNullableT() + if (f != null || this.f != null) f.funNullableAny() + if (f != null || this.f != null) f if (f != null || this.f != null) this.f.equals(null) if (f != null || this.f != null) this.f.propT if (f != null || this.f != null) this.f.propAny @@ -3020,24 +3020,24 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (f != null || this.f != null) this.f.funNullableAny() if (f != null || this.f != null) this.f - if (x != null) x.equals(null) + if (x != null) x.equals(null) - if (x != null) x.propT + if (x != null) x.propT - if (x != null) x.propAny + if (x != null) x.propAny - if (x != null) x.propNullableT + if (x != null) x.propNullableT - if (x != null) x.propNullableAny + if (x != null) x.propNullableAny - if (x != null) x.funT() + if (x != null) x.funT() - if (x != null) x.funAny() + if (x != null) x.funAny() - if (x != null) x.funNullableT() + if (x != null) x.funNullableT() - if (x != null) x.funNullableAny() - if (x != null) x + if (x != null) x.funNullableAny() + if (x != null) x if (this.x != null) this.x.equals(null) if (this.x != null) this.x.propT if (this.x != null) this.x.propAny @@ -3058,26 +3058,26 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (x != null) this.x.funNullableT() if (x != null) this.x.funNullableAny() if (x != null) this.x - if (this.x != null) x.equals(null) - if (this.x != null) x.propT - if (this.x != null) x.propAny - if (this.x != null) x.propNullableT - if (this.x != null) x.propNullableAny - if (this.x != null) x.funT() - if (this.x != null) x.funAny() - if (this.x != null) x.funNullableT() - if (this.x != null) x.funNullableAny() - if (this.x != null) x - if (x != null || this.x != null) x.equals(null) - if (x != null || this.x != null) x.propT - if (x != null || this.x != null) x.propAny - if (x != null || this.x != null) x.propNullableT - if (x != null || this.x != null) x.propNullableAny - if (x != null || this.x != null) x.funT() - if (x != null || this.x != null) x.funAny() - if (x != null || this.x != null) x.funNullableT() - if (x != null || this.x != null) x.funNullableAny() - if (x != null || this.x != null) x + if (this.x != null) x.equals(null) + if (this.x != null) x.propT + if (this.x != null) x.propAny + if (this.x != null) x.propNullableT + if (this.x != null) x.propNullableAny + if (this.x != null) x.funT() + if (this.x != null) x.funAny() + if (this.x != null) x.funNullableT() + if (this.x != null) x.funNullableAny() + if (this.x != null) x + if (x != null || this.x != null) x.equals(null) + if (x != null || this.x != null) x.propT + if (x != null || this.x != null) x.propAny + if (x != null || this.x != null) x.propNullableT + if (x != null || this.x != null) x.propNullableAny + if (x != null || this.x != null) x.funT() + if (x != null || this.x != null) x.funAny() + if (x != null || this.x != null) x.funNullableT() + if (x != null || this.x != null) x.funNullableAny() + if (x != null || this.x != null) x if (x != null || this.x != null) this.x.equals(null) if (x != null || this.x != null) this.x.propT if (x != null || this.x != null) this.x.propAny @@ -3089,24 +3089,24 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (x != null || this.x != null) this.x.funNullableAny() if (x != null || this.x != null) this.x - if (y != null) y.equals(null) + if (y != null) y.equals(null) - if (y != null) y.propT + if (y != null) y.propT - if (y != null) y.propAny + if (y != null) y.propAny - if (y != null) y.propNullableT + if (y != null) y.propNullableT - if (y != null) y.propNullableAny + if (y != null) y.propNullableAny - if (y != null) y.funT() + if (y != null) y.funT() - if (y != null) y.funAny() + if (y != null) y.funAny() - if (y != null) y.funNullableT() + if (y != null) y.funNullableT() - if (y != null) y.funNullableAny() - if (y != null) y + if (y != null) y.funNullableAny() + if (y != null) y if (this.y != null) this.y.equals(null) if (this.y != null) this.y.propT if (this.y != null) this.y.propAny @@ -3117,16 +3117,16 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (this.y != null) this.y.funNullableT() if (this.y != null) this.y.funNullableAny() if (this.y != null) this.y - if (this.y != null) y.equals(null) - if (this.y != null) y.propT - if (this.y != null) y.propAny - if (this.y != null) y.propNullableT - if (this.y != null) y.propNullableAny - if (this.y != null) y.funT() - if (this.y != null) y.funAny() - if (this.y != null) y.funNullableT() - if (this.y != null) y.funNullableAny() - if (this.y != null) y + if (this.y != null) y.equals(null) + if (this.y != null) y.propT + if (this.y != null) y.propAny + if (this.y != null) y.propNullableT + if (this.y != null) y.propNullableAny + if (this.y != null) y.funT() + if (this.y != null) y.funAny() + if (this.y != null) y.funNullableT() + if (this.y != null) y.funNullableAny() + if (this.y != null) y if (y != null) this.y.equals(null) if (y != null) this.y.propT if (y != null) this.y.propAny @@ -3137,16 +3137,16 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (y != null) this.y.funNullableT() if (y != null) this.y.funNullableAny() if (y != null) this.y - if (y != null || this.y != null) y.equals(null) - if (y != null || this.y != null) y.propT - if (y != null || this.y != null) y.propAny - if (y != null || this.y != null) y.propNullableT - if (y != null || this.y != null) y.propNullableAny - if (y != null || this.y != null) y.funT() - if (y != null || this.y != null) y.funAny() - if (y != null || this.y != null) y.funNullableT() - if (y != null || this.y != null) y.funNullableAny() - if (y != null || this.y != null) y + if (y != null || this.y != null) y.equals(null) + if (y != null || this.y != null) y.propT + if (y != null || this.y != null) y.propAny + if (y != null || this.y != null) y.propNullableT + if (y != null || this.y != null) y.propNullableAny + if (y != null || this.y != null) y.funT() + if (y != null || this.y != null) y.funAny() + if (y != null || this.y != null) y.funNullableT() + if (y != null || this.y != null) y.funNullableAny() + if (y != null || this.y != null) y if (y != null || this.y != null) this.y.equals(null) if (y != null || this.y != null) this.y.propT if (y != null || this.y != null) this.y.propAny @@ -3158,24 +3158,24 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (y != null || this.y != null) this.y.funNullableAny() if (y != null || this.y != null) this.y - if (z != null) z.equals(null) + if (z != null) z.equals(null) - if (z != null) z.propT + if (z != null) z.propT - if (z != null) z.propAny + if (z != null) z.propAny - if (z != null) z.propNullableT + if (z != null) z.propNullableT - if (z != null) z.propNullableAny + if (z != null) z.propNullableAny - if (z != null) z.funT() + if (z != null) z.funT() - if (z != null) z.funAny() + if (z != null) z.funAny() - if (z != null) z.funNullableT() + if (z != null) z.funNullableT() - if (z != null) z.funNullableAny() - if (z != null) z + if (z != null) z.funNullableAny() + if (z != null) z if (this.z != null) this.z.equals(null) if (this.z != null) this.z.propT if (this.z != null) this.z.propAny @@ -3196,26 +3196,26 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (z != null) this.z.funNullableT() if (z != null) this.z.funNullableAny() if (z != null) this.z - if (this.z != null) z.equals(null) - if (this.z != null) z.propT - if (this.z != null) z.propAny - if (this.z != null) z.propNullableT - if (this.z != null) z.propNullableAny - if (this.z != null) z.funT() - if (this.z != null) z.funAny() - if (this.z != null) z.funNullableT() - if (this.z != null) z.funNullableAny() - if (this.z != null) z - if (z != null || this.z != null) z.equals(null) - if (z != null || this.z != null) z.propT - if (z != null || this.z != null) z.propAny - if (z != null || this.z != null) z.propNullableT - if (z != null || this.z != null) z.propNullableAny - if (z != null || this.z != null) z.funT() - if (z != null || this.z != null) z.funAny() - if (z != null || this.z != null) z.funNullableT() - if (z != null || this.z != null) z.funNullableAny() - if (z != null || this.z != null) z + if (this.z != null) z.equals(null) + if (this.z != null) z.propT + if (this.z != null) z.propAny + if (this.z != null) z.propNullableT + if (this.z != null) z.propNullableAny + if (this.z != null) z.funT() + if (this.z != null) z.funAny() + if (this.z != null) z.funNullableT() + if (this.z != null) z.funNullableAny() + if (this.z != null) z + if (z != null || this.z != null) z.equals(null) + if (z != null || this.z != null) z.propT + if (z != null || this.z != null) z.propAny + if (z != null || this.z != null) z.propNullableT + if (z != null || this.z != null) z.propNullableAny + if (z != null || this.z != null) z.funT() + if (z != null || this.z != null) z.funAny() + if (z != null || this.z != null) z.funNullableT() + if (z != null || this.z != null) z.funNullableAny() + if (z != null || this.z != null) z if (z != null || this.z != null) this.z.equals(null) if (z != null || this.z != null) this.z.propT if (z != null || this.z != null) this.z.propAny @@ -3227,24 +3227,24 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (z != null || this.z != null) this.z.funNullableAny() if (z != null || this.z != null) this.z - if (u != null) u.equals(null) + if (u != null) u.equals(null) - if (u != null) u.propT + if (u != null) u.propT - if (u != null) u.propAny + if (u != null) u.propAny - if (u != null) u.propNullableT + if (u != null) u.propNullableT - if (u != null) u.propNullableAny + if (u != null) u.propNullableAny - if (u != null) u.funT() + if (u != null) u.funT() - if (u != null) u.funAny() + if (u != null) u.funAny() - if (u != null) u.funNullableT() + if (u != null) u.funNullableT() - if (u != null) u.funNullableAny() - if (u != null) u + if (u != null) u.funNullableAny() + if (u != null) u if (this.u != null) this.u.equals(null) if (this.u != null) this.u.propT if (this.u != null) this.u.propAny @@ -3255,16 +3255,16 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (this.u != null) this.u.funNullableT() if (this.u != null) this.u.funNullableAny() if (this.u != null) this.u - if (this.u != null) u.equals(null) - if (this.u != null) u.propT - if (this.u != null) u.propAny - if (this.u != null) u.propNullableT - if (this.u != null) u.propNullableAny - if (this.u != null) u.funT() - if (this.u != null) u.funAny() - if (this.u != null) u.funNullableT() - if (this.u != null) u.funNullableAny() - if (this.u != null) u + if (this.u != null) u.equals(null) + if (this.u != null) u.propT + if (this.u != null) u.propAny + if (this.u != null) u.propNullableT + if (this.u != null) u.propNullableAny + if (this.u != null) u.funT() + if (this.u != null) u.funAny() + if (this.u != null) u.funNullableT() + if (this.u != null) u.funNullableAny() + if (this.u != null) u if (u != null) this.u.equals(null) if (u != null) this.u.propT if (u != null) this.u.propAny @@ -3275,16 +3275,16 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (u != null) this.u.funNullableT() if (u != null) this.u.funNullableAny() if (u != null) this.u - if (u != null || this.u != null) u.equals(null) - if (u != null || this.u != null) u.propT - if (u != null || this.u != null) u.propAny - if (u != null || this.u != null) u.propNullableT - if (u != null || this.u != null) u.propNullableAny - if (u != null || this.u != null) u.funT() - if (u != null || this.u != null) u.funAny() - if (u != null || this.u != null) u.funNullableT() - if (u != null || this.u != null) u.funNullableAny() - if (u != null || this.u != null) u + if (u != null || this.u != null) u.equals(null) + if (u != null || this.u != null) u.propT + if (u != null || this.u != null) u.propAny + if (u != null || this.u != null) u.propNullableT + if (u != null || this.u != null) u.propNullableAny + if (u != null || this.u != null) u.funT() + if (u != null || this.u != null) u.funAny() + if (u != null || this.u != null) u.funNullableT() + if (u != null || this.u != null) u.funNullableAny() + if (u != null || this.u != null) u if (u != null || this.u != null) this.u.equals(null) if (u != null || this.u != null) this.u.propT if (u != null || this.u != null) this.u.propAny @@ -3297,46 +3297,46 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (u != null || this.u != null) this.u v = 0 - v.equals(null) - v.propT - v.propAny - v.propNullableT - v.propNullableAny - v.funT() - v.funAny() - v.funNullableT() - v.funNullableAny() - v - if (v != null) v.equals(null) - if (v != null) v.propT - if (v != null) v.propAny - if (v != null) v.propNullableT - if (v != null) v.propNullableAny - if (v != null) v.funT() - if (v != null) v.funAny() - if (v != null) v.funNullableT() - if (v != null) v.funNullableAny() - if (v != null) v - if (this.v != null) v.equals(null) - if (this.v != null) v.propT - if (this.v != null) v.propAny - if (this.v != null) v.propNullableT - if (this.v != null) v.propNullableAny - if (this.v != null) v.funT() - if (this.v != null) v.funAny() - if (this.v != null) v.funNullableT() - if (this.v != null) v.funNullableAny() - if (this.v != null) v - if (v != null || this.v != null) v.equals(null) - if (v != null || this.v != null) v.propT - if (v != null || this.v != null) v.propAny - if (v != null || this.v != null) v.propNullableT - if (v != null || this.v != null) v.propNullableAny - if (v != null || this.v != null) v.funT() - if (v != null || this.v != null) v.funAny() - if (v != null || this.v != null) v.funNullableT() - if (v != null || this.v != null) v.funNullableAny() - if (v != null || this.v != null) v + v.equals(null) + v.propT + v.propAny + v.propNullableT + v.propNullableAny + v.funT() + v.funAny() + v.funNullableT() + v.funNullableAny() + v + if (v != null) v.equals(null) + if (v != null) v.propT + if (v != null) v.propAny + if (v != null) v.propNullableT + if (v != null) v.propNullableAny + if (v != null) v.funT() + if (v != null) v.funAny() + if (v != null) v.funNullableT() + if (v != null) v.funNullableAny() + if (v != null) v + if (this.v != null) v.equals(null) + if (this.v != null) v.propT + if (this.v != null) v.propAny + if (this.v != null) v.propNullableT + if (this.v != null) v.propNullableAny + if (this.v != null) v.funT() + if (this.v != null) v.funAny() + if (this.v != null) v.funNullableT() + if (this.v != null) v.funNullableAny() + if (this.v != null) v + if (v != null || this.v != null) v.equals(null) + if (v != null || this.v != null) v.propT + if (v != null || this.v != null) v.propAny + if (v != null || this.v != null) v.propNullableT + if (v != null || this.v != null) v.propNullableAny + if (v != null || this.v != null) v.funT() + if (v != null || this.v != null) v.funAny() + if (v != null || this.v != null) v.funNullableT() + if (v != null || this.v != null) v.funNullableAny() + if (v != null || this.v != null) v if (v != null || this.v != null) this.v.equals(null) if (v != null || this.v != null) this.v.propT if (v != null || this.v != null) this.v.propAny @@ -3349,36 +3349,36 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: if (v != null || this.v != null) this.v w = if (null != null) 10 else null - if (w != null) w.equals(null) - if (w != null) w.propT - if (w != null) w.propAny - if (w != null) w.propNullableT - if (w != null) w.propNullableAny - if (w != null) w.funT() - if (w != null) w.funAny() - if (w != null) w.funNullableT() - if (w != null) w.funNullableAny() - if (w != null) w - if (this.w != null) w.equals(null) - if (this.w != null) w.propT - if (this.w != null) w.propAny - if (this.w != null) w.propNullableT - if (this.w != null) w.propNullableAny - if (this.w != null) w.funT() - if (this.w != null) w.funAny() - if (this.w != null) w.funNullableT() - if (this.w != null) w.funNullableAny() - if (this.w != null) w - if (w != null || this.w != null) w.equals(null) - if (w != null || this.w != null) w.propT - if (w != null || this.w != null) w.propAny - if (w != null || this.w != null) w.propNullableT - if (w != null || this.w != null) w.propNullableAny - if (w != null || this.w != null) w.funT() - if (w != null || this.w != null) w.funAny() - if (w != null || this.w != null) w.funNullableT() - if (w != null || this.w != null) w.funNullableAny() - if (w != null || this.w != null) w + if (w != null) w.equals(null) + if (w != null) w.propT + if (w != null) w.propAny + if (w != null) w.propNullableT + if (w != null) w.propNullableAny + if (w != null) w.funT() + if (w != null) w.funAny() + if (w != null) w.funNullableT() + if (w != null) w.funNullableAny() + if (w != null) w + if (this.w != null) w.equals(null) + if (this.w != null) w.propT + if (this.w != null) w.propAny + if (this.w != null) w.propNullableT + if (this.w != null) w.propNullableAny + if (this.w != null) w.funT() + if (this.w != null) w.funAny() + if (this.w != null) w.funNullableT() + if (this.w != null) w.funNullableAny() + if (this.w != null) w + if (w != null || this.w != null) w.equals(null) + if (w != null || this.w != null) w.propT + if (w != null || this.w != null) w.propAny + if (w != null || this.w != null) w.propNullableT + if (w != null || this.w != null) w.propNullableAny + if (w != null || this.w != null) w.funT() + if (w != null || this.w != null) w.funAny() + if (w != null || this.w != null) w.funNullableT() + if (w != null || this.w != null) w.funNullableAny() + if (w != null || this.w != null) w if (w != null || this.w != null) this.w.equals(null) if (w != null || this.w != null) this.w.propT if (w != null || this.w != null) this.w.propAny @@ -3393,232 +3393,232 @@ enum class Case31(a: Int?, val b: Float?, private val c: Unit?, protected val d: s = null s.hashCode() s - if (s != null) s - if (this.s != null) s - if (s != null || this.s != null) s + if (s != null) s + if (this.s != null) s + if (s != null || this.s != null) s if (s != null || this.s != null) this.s } fun test() { - if (b != null) b.equals(null) - if (b != null) b.propT - if (b != null) b.propAny - if (b != null) b.propNullableT - if (b != null) b.propNullableAny - if (b != null) b.funT() - if (b != null) b.funAny() - if (b != null) b.funNullableT() - if (b != null) b.funNullableAny() - if (b != null) b + if (b != null) b.equals(null) + if (b != null) b.propT + if (b != null) b.propAny + if (b != null) b.propNullableT + if (b != null) b.propNullableAny + if (b != null) b.funT() + if (b != null) b.funAny() + if (b != null) b.funNullableT() + if (b != null) b.funNullableAny() + if (b != null) b - if (c != null) c.equals(null) + if (c != null) c.equals(null) - if (c != null) c.propT + if (c != null) c.propT - if (c != null) c.propAny + if (c != null) c.propAny - if (c != null) c.propNullableT + if (c != null) c.propNullableT - if (c != null) c.propNullableAny + if (c != null) c.propNullableAny - if (c != null) c.funT() + if (c != null) c.funT() - if (c != null) c.funAny() + if (c != null) c.funAny() - if (c != null) c.funNullableT() + if (c != null) c.funNullableT() - if (c != null) c.funNullableAny() - if (c != null) c + if (c != null) c.funNullableAny() + if (c != null) c - if (d != null) d.equals(null) + if (d != null) d.equals(null) - if (d != null) d.propT + if (d != null) d.propT - if (d != null) d.propAny + if (d != null) d.propAny - if (d != null) d.propNullableT + if (d != null) d.propNullableT - if (d != null) d.propNullableAny + if (d != null) d.propNullableAny - if (d != null) d.funT() + if (d != null) d.funT() - if (d != null) d.funAny() + if (d != null) d.funAny() - if (d != null) d.funNullableT() + if (d != null) d.funNullableT() - if (d != null) d.funNullableAny() - if (d != null) d + if (d != null) d.funNullableAny() + if (d != null) d - if (e != null) e.equals(null) + if (e != null) e.equals(null) - if (e != null) e.propT + if (e != null) e.propT - if (e != null) e.propAny + if (e != null) e.propAny - if (e != null) e.propNullableT + if (e != null) e.propNullableT - if (e != null) e.propNullableAny + if (e != null) e.propNullableAny - if (e != null) e.funT() + if (e != null) e.funT() - if (e != null) e.funAny() + if (e != null) e.funAny() - if (e != null) e.funNullableT() + if (e != null) e.funNullableT() - if (e != null) e.funNullableAny() - if (e != null) e + if (e != null) e.funNullableAny() + if (e != null) e - if (f != null) f.equals(null) + if (f != null) f.equals(null) - if (f != null) f.propT + if (f != null) f.propT - if (f != null) f.propAny + if (f != null) f.propAny - if (f != null) f.propNullableT + if (f != null) f.propNullableT - if (f != null) f.propNullableAny + if (f != null) f.propNullableAny - if (f != null) f.funT() + if (f != null) f.funT() - if (f != null) f.funAny() + if (f != null) f.funAny() - if (f != null) f.funNullableT() + if (f != null) f.funNullableT() - if (f != null) f.funNullableAny() - if (f != null) f + if (f != null) f.funNullableAny() + if (f != null) f - if (x != null) x.equals(null) + if (x != null) x.equals(null) - if (x != null) x.propT + if (x != null) x.propT - if (x != null) x.propAny + if (x != null) x.propAny - if (x != null) x.propNullableT + if (x != null) x.propNullableT - if (x != null) x.propNullableAny + if (x != null) x.propNullableAny - if (x != null) x.funT() + if (x != null) x.funT() - if (x != null) x.funAny() + if (x != null) x.funAny() - if (x != null) x.funNullableT() + if (x != null) x.funNullableT() - if (x != null) x.funNullableAny() - if (x != null) x + if (x != null) x.funNullableAny() + if (x != null) x - if (y != null) y.equals(null) + if (y != null) y.equals(null) - if (y != null) y.propT + if (y != null) y.propT - if (y != null) y.propAny + if (y != null) y.propAny - if (y != null) y.propNullableT + if (y != null) y.propNullableT - if (y != null) y.propNullableAny + if (y != null) y.propNullableAny - if (y != null) y.funT() + if (y != null) y.funT() - if (y != null) y.funAny() + if (y != null) y.funAny() - if (y != null) y.funNullableT() + if (y != null) y.funNullableT() - if (y != null) y.funNullableAny() - if (y != null) y + if (y != null) y.funNullableAny() + if (y != null) y - if (z != null) z.equals(null) + if (z != null) z.equals(null) - if (z != null) z.propT + if (z != null) z.propT - if (z != null) z.propAny + if (z != null) z.propAny - if (z != null) z.propNullableT + if (z != null) z.propNullableT - if (z != null) z.propNullableAny + if (z != null) z.propNullableAny - if (z != null) z.funT() + if (z != null) z.funT() - if (z != null) z.funAny() + if (z != null) z.funAny() - if (z != null) z.funNullableT() + if (z != null) z.funNullableT() - if (z != null) z.funNullableAny() - if (z != null) z + if (z != null) z.funNullableAny() + if (z != null) z - if (u != null) u.equals(null) + if (u != null) u.equals(null) - if (u != null) u.propT + if (u != null) u.propT - if (u != null) u.propAny + if (u != null) u.propAny - if (u != null) u.propNullableT + if (u != null) u.propNullableT - if (u != null) u.propNullableAny + if (u != null) u.propNullableAny - if (u != null) u.funT() + if (u != null) u.funT() - if (u != null) u.funAny() + if (u != null) u.funAny() - if (u != null) u.funNullableT() + if (u != null) u.funNullableT() - if (u != null) u.funNullableAny() - if (u != null) u + if (u != null) u.funNullableAny() + if (u != null) u - if (v != null) v.equals(null) + if (v != null) v.equals(null) - if (v != null) v.propT + if (v != null) v.propT - if (v != null) v.propAny + if (v != null) v.propAny - if (v != null) v.propNullableT + if (v != null) v.propNullableT - if (v != null) v.propNullableAny + if (v != null) v.propNullableAny - if (v != null) v.funT() + if (v != null) v.funT() - if (v != null) v.funAny() + if (v != null) v.funAny() - if (v != null) v.funNullableT() + if (v != null) v.funNullableT() - if (v != null) v.funNullableAny() - if (v != null) v + if (v != null) v.funNullableAny() + if (v != null) v - if (w != null) w.equals(null) + if (w != null) w.equals(null) - if (w != null) w.propT + if (w != null) w.propT - if (w != null) w.propAny + if (w != null) w.propAny - if (w != null) w.propNullableT + if (w != null) w.propNullableT - if (w != null) w.propNullableAny + if (w != null) w.propNullableAny - if (w != null) w.funT() + if (w != null) w.funT() - if (w != null) w.funAny() + if (w != null) w.funAny() - if (w != null) w.funNullableT() + if (w != null) w.funNullableT() - if (w != null) w.funNullableAny() - if (w != null) w + if (w != null) w.funNullableAny() + if (w != null) w - if (s != null) s.equals(null) + if (s != null) s.equals(null) - if (s != null) s.propT + if (s != null) s.propT - if (s != null) s.propAny + if (s != null) s.propAny - if (s != null) s.propNullableT + if (s != null) s.propNullableT - if (s != null) s.propNullableAny + if (s != null) s.propNullableAny - if (s != null) s.funT() + if (s != null) s.funT() - if (s != null) s.funAny() + if (s != null) s.funAny() - if (s != null) s.funNullableT() + if (s != null) s.funNullableT() - if (s != null) s.funNullableAny() - if (s != null) s + if (s != null) s.funNullableAny() + if (s != null) s } } @@ -3745,16 +3745,16 @@ object Case32 { val t: String? = if (u != null) this.u else null init { - if (x != null) x.equals(null) - if (x != null) x.propT - if (x != null) x.propAny - if (x != null) x.propNullableT - if (x != null) x.propNullableAny - if (x != null) x.funT() - if (x != null) x.funAny() - if (x != null) x.funNullableT() - if (x != null) x.funNullableAny() - if (x != null) x + if (x != null) x.equals(null) + if (x != null) x.propT + if (x != null) x.propAny + if (x != null) x.propNullableT + if (x != null) x.propNullableAny + if (x != null) x.funT() + if (x != null) x.funAny() + if (x != null) x.funNullableT() + if (x != null) x.funNullableAny() + if (x != null) x if (this.x != null) this.x.equals(null) if (this.x != null) this.x.propT if (this.x != null) this.x.propAny @@ -3775,26 +3775,26 @@ object Case32 { if (x != null) this.x.funNullableT() if (x != null) this.x.funNullableAny() if (x != null) this.x - if (this.x != null) x.equals(null) - if (this.x != null) x.propT - if (this.x != null) x.propAny - if (this.x != null) x.propNullableT - if (this.x != null) x.propNullableAny - if (this.x != null) x.funT() - if (this.x != null) x.funAny() - if (this.x != null) x.funNullableT() - if (this.x != null) x.funNullableAny() - if (this.x != null) x - if (x != null || this.x != null) x.equals(null) - if (x != null || this.x != null) x.propT - if (x != null || this.x != null) x.propAny - if (x != null || this.x != null) x.propNullableT - if (x != null || this.x != null) x.propNullableAny - if (x != null || this.x != null) x.funT() - if (x != null || this.x != null) x.funAny() - if (x != null || this.x != null) x.funNullableT() - if (x != null || this.x != null) x.funNullableAny() - if (x != null || this.x != null) x + if (this.x != null) x.equals(null) + if (this.x != null) x.propT + if (this.x != null) x.propAny + if (this.x != null) x.propNullableT + if (this.x != null) x.propNullableAny + if (this.x != null) x.funT() + if (this.x != null) x.funAny() + if (this.x != null) x.funNullableT() + if (this.x != null) x.funNullableAny() + if (this.x != null) x + if (x != null || this.x != null) x.equals(null) + if (x != null || this.x != null) x.propT + if (x != null || this.x != null) x.propAny + if (x != null || this.x != null) x.propNullableT + if (x != null || this.x != null) x.propNullableAny + if (x != null || this.x != null) x.funT() + if (x != null || this.x != null) x.funAny() + if (x != null || this.x != null) x.funNullableT() + if (x != null || this.x != null) x.funNullableAny() + if (x != null || this.x != null) x if (x != null || this.x != null) this.x.equals(null) if (x != null || this.x != null) this.x.propT if (x != null || this.x != null) this.x.propAny @@ -3806,24 +3806,24 @@ object Case32 { if (x != null || this.x != null) this.x.funNullableAny() if (x != null || this.x != null) this.x - if (y != null) y.equals(null) + if (y != null) y.equals(null) - if (y != null) y.propT + if (y != null) y.propT - if (y != null) y.propAny + if (y != null) y.propAny - if (y != null) y.propNullableT + if (y != null) y.propNullableT - if (y != null) y.propNullableAny + if (y != null) y.propNullableAny - if (y != null) y.funT() + if (y != null) y.funT() - if (y != null) y.funAny() + if (y != null) y.funAny() - if (y != null) y.funNullableT() + if (y != null) y.funNullableT() - if (y != null) y.funNullableAny() - if (y != null) y + if (y != null) y.funNullableAny() + if (y != null) y if (this.y != null) this.y.equals(null) if (this.y != null) this.y.propT if (this.y != null) this.y.propAny @@ -3834,16 +3834,16 @@ object Case32 { if (this.y != null) this.y.funNullableT() if (this.y != null) this.y.funNullableAny() if (this.y != null) this.y - if (this.y != null) y.equals(null) - if (this.y != null) y.propT - if (this.y != null) y.propAny - if (this.y != null) y.propNullableT - if (this.y != null) y.propNullableAny - if (this.y != null) y.funT() - if (this.y != null) y.funAny() - if (this.y != null) y.funNullableT() - if (this.y != null) y.funNullableAny() - if (this.y != null) y + if (this.y != null) y.equals(null) + if (this.y != null) y.propT + if (this.y != null) y.propAny + if (this.y != null) y.propNullableT + if (this.y != null) y.propNullableAny + if (this.y != null) y.funT() + if (this.y != null) y.funAny() + if (this.y != null) y.funNullableT() + if (this.y != null) y.funNullableAny() + if (this.y != null) y if (y != null) this.y.equals(null) if (y != null) this.y.propT if (y != null) this.y.propAny @@ -3854,16 +3854,16 @@ object Case32 { if (y != null) this.y.funNullableT() if (y != null) this.y.funNullableAny() if (y != null) this.y - if (y != null || this.y != null) y.equals(null) - if (y != null || this.y != null) y.propT - if (y != null || this.y != null) y.propAny - if (y != null || this.y != null) y.propNullableT - if (y != null || this.y != null) y.propNullableAny - if (y != null || this.y != null) y.funT() - if (y != null || this.y != null) y.funAny() - if (y != null || this.y != null) y.funNullableT() - if (y != null || this.y != null) y.funNullableAny() - if (y != null || this.y != null) y + if (y != null || this.y != null) y.equals(null) + if (y != null || this.y != null) y.propT + if (y != null || this.y != null) y.propAny + if (y != null || this.y != null) y.propNullableT + if (y != null || this.y != null) y.propNullableAny + if (y != null || this.y != null) y.funT() + if (y != null || this.y != null) y.funAny() + if (y != null || this.y != null) y.funNullableT() + if (y != null || this.y != null) y.funNullableAny() + if (y != null || this.y != null) y if (y != null || this.y != null) this.y.equals(null) if (y != null || this.y != null) this.y.propT if (y != null || this.y != null) this.y.propAny @@ -3875,24 +3875,24 @@ object Case32 { if (y != null || this.y != null) this.y.funNullableAny() if (y != null || this.y != null) this.y - if (u != null) u.equals(null) + if (u != null) u.equals(null) - if (u != null) u.propT + if (u != null) u.propT - if (u != null) u.propAny + if (u != null) u.propAny - if (u != null) u.propNullableT + if (u != null) u.propNullableT - if (u != null) u.propNullableAny + if (u != null) u.propNullableAny - if (u != null) u.funT() + if (u != null) u.funT() - if (u != null) u.funAny() + if (u != null) u.funAny() - if (u != null) u.funNullableT() + if (u != null) u.funNullableT() - if (u != null) u.funNullableAny() - if (u != null) u + if (u != null) u.funNullableAny() + if (u != null) u if (this.u != null) this.u.equals(null) if (this.u != null) this.u.propT if (this.u != null) this.u.propAny @@ -3903,16 +3903,16 @@ object Case32 { if (this.u != null) this.u.funNullableT() if (this.u != null) this.u.funNullableAny() if (this.u != null) this.u - if (this.u != null) u.equals(null) - if (this.u != null) u.propT - if (this.u != null) u.propAny - if (this.u != null) u.propNullableT - if (this.u != null) u.propNullableAny - if (this.u != null) u.funT() - if (this.u != null) u.funAny() - if (this.u != null) u.funNullableT() - if (this.u != null) u.funNullableAny() - if (this.u != null) u + if (this.u != null) u.equals(null) + if (this.u != null) u.propT + if (this.u != null) u.propAny + if (this.u != null) u.propNullableT + if (this.u != null) u.propNullableAny + if (this.u != null) u.funT() + if (this.u != null) u.funAny() + if (this.u != null) u.funNullableT() + if (this.u != null) u.funNullableAny() + if (this.u != null) u if (u != null) this.u.equals(null) if (u != null) this.u.propT if (u != null) this.u.propAny @@ -3923,16 +3923,16 @@ object Case32 { if (u != null) this.u.funNullableT() if (u != null) this.u.funNullableAny() if (u != null) this.u - if (u != null || this.u != null) u.equals(null) - if (u != null || this.u != null) u.propT - if (u != null || this.u != null) u.propAny - if (u != null || this.u != null) u.propNullableT - if (u != null || this.u != null) u.propNullableAny - if (u != null || this.u != null) u.funT() - if (u != null || this.u != null) u.funAny() - if (u != null || this.u != null) u.funNullableT() - if (u != null || this.u != null) u.funNullableAny() - if (u != null || this.u != null) u + if (u != null || this.u != null) u.equals(null) + if (u != null || this.u != null) u.propT + if (u != null || this.u != null) u.propAny + if (u != null || this.u != null) u.propNullableT + if (u != null || this.u != null) u.propNullableAny + if (u != null || this.u != null) u.funT() + if (u != null || this.u != null) u.funAny() + if (u != null || this.u != null) u.funNullableT() + if (u != null || this.u != null) u.funNullableAny() + if (u != null || this.u != null) u if (u != null || this.u != null) this.u.equals(null) if (u != null || this.u != null) this.u.propT if (u != null || this.u != null) this.u.propAny @@ -3945,46 +3945,46 @@ object Case32 { if (u != null || this.u != null) this.u v = 0 - v.equals(null) - v.propT - v.propAny - v.propNullableT - v.propNullableAny - v.funT() - v.funAny() - v.funNullableT() - v.funNullableAny() - v - if (v != null) v.equals(null) - if (v != null) v.propT - if (v != null) v.propAny - if (v != null) v.propNullableT - if (v != null) v.propNullableAny - if (v != null) v.funT() - if (v != null) v.funAny() - if (v != null) v.funNullableT() - if (v != null) v.funNullableAny() - if (v != null) v - if (this.v != null) v.equals(null) - if (this.v != null) v.propT - if (this.v != null) v.propAny - if (this.v != null) v.propNullableT - if (this.v != null) v.propNullableAny - if (this.v != null) v.funT() - if (this.v != null) v.funAny() - if (this.v != null) v.funNullableT() - if (this.v != null) v.funNullableAny() - if (this.v != null) v - if (v != null || this.v != null) v.equals(null) - if (v != null || this.v != null) v.propT - if (v != null || this.v != null) v.propAny - if (v != null || this.v != null) v.propNullableT - if (v != null || this.v != null) v.propNullableAny - if (v != null || this.v != null) v.funT() - if (v != null || this.v != null) v.funAny() - if (v != null || this.v != null) v.funNullableT() - if (v != null || this.v != null) v.funNullableAny() - if (v != null || this.v != null) v + v.equals(null) + v.propT + v.propAny + v.propNullableT + v.propNullableAny + v.funT() + v.funAny() + v.funNullableT() + v.funNullableAny() + v + if (v != null) v.equals(null) + if (v != null) v.propT + if (v != null) v.propAny + if (v != null) v.propNullableT + if (v != null) v.propNullableAny + if (v != null) v.funT() + if (v != null) v.funAny() + if (v != null) v.funNullableT() + if (v != null) v.funNullableAny() + if (v != null) v + if (this.v != null) v.equals(null) + if (this.v != null) v.propT + if (this.v != null) v.propAny + if (this.v != null) v.propNullableT + if (this.v != null) v.propNullableAny + if (this.v != null) v.funT() + if (this.v != null) v.funAny() + if (this.v != null) v.funNullableT() + if (this.v != null) v.funNullableAny() + if (this.v != null) v + if (v != null || this.v != null) v.equals(null) + if (v != null || this.v != null) v.propT + if (v != null || this.v != null) v.propAny + if (v != null || this.v != null) v.propNullableT + if (v != null || this.v != null) v.propNullableAny + if (v != null || this.v != null) v.funT() + if (v != null || this.v != null) v.funAny() + if (v != null || this.v != null) v.funNullableT() + if (v != null || this.v != null) v.funNullableAny() + if (v != null || this.v != null) v if (v != null || this.v != null) this.v.equals(null) if (v != null || this.v != null) this.v.propT if (v != null || this.v != null) this.v.propAny @@ -3997,36 +3997,36 @@ object Case32 { if (v != null || this.v != null) this.v w = if (null != null) 10 else null - if (w != null) w.equals(null) - if (w != null) w.propT - if (w != null) w.propAny - if (w != null) w.propNullableT - if (w != null) w.propNullableAny - if (w != null) w.funT() - if (w != null) w.funAny() - if (w != null) w.funNullableT() - if (w != null) w.funNullableAny() - if (w != null) w - if (this.w != null) w.equals(null) - if (this.w != null) w.propT - if (this.w != null) w.propAny - if (this.w != null) w.propNullableT - if (this.w != null) w.propNullableAny - if (this.w != null) w.funT() - if (this.w != null) w.funAny() - if (this.w != null) w.funNullableT() - if (this.w != null) w.funNullableAny() - if (this.w != null) w - if (w != null || this.w != null) w.equals(null) - if (w != null || this.w != null) w.propT - if (w != null || this.w != null) w.propAny - if (w != null || this.w != null) w.propNullableT - if (w != null || this.w != null) w.propNullableAny - if (w != null || this.w != null) w.funT() - if (w != null || this.w != null) w.funAny() - if (w != null || this.w != null) w.funNullableT() - if (w != null || this.w != null) w.funNullableAny() - if (w != null || this.w != null) w + if (w != null) w.equals(null) + if (w != null) w.propT + if (w != null) w.propAny + if (w != null) w.propNullableT + if (w != null) w.propNullableAny + if (w != null) w.funT() + if (w != null) w.funAny() + if (w != null) w.funNullableT() + if (w != null) w.funNullableAny() + if (w != null) w + if (this.w != null) w.equals(null) + if (this.w != null) w.propT + if (this.w != null) w.propAny + if (this.w != null) w.propNullableT + if (this.w != null) w.propNullableAny + if (this.w != null) w.funT() + if (this.w != null) w.funAny() + if (this.w != null) w.funNullableT() + if (this.w != null) w.funNullableAny() + if (this.w != null) w + if (w != null || this.w != null) w.equals(null) + if (w != null || this.w != null) w.propT + if (w != null || this.w != null) w.propAny + if (w != null || this.w != null) w.propNullableT + if (w != null || this.w != null) w.propNullableAny + if (w != null || this.w != null) w.funT() + if (w != null || this.w != null) w.funAny() + if (w != null || this.w != null) w.funNullableT() + if (w != null || this.w != null) w.funNullableAny() + if (w != null || this.w != null) w if (w != null || this.w != null) this.w.equals(null) if (w != null || this.w != null) this.w.propT if (w != null || this.w != null) this.w.propAny @@ -4041,118 +4041,118 @@ object Case32 { s = null s.hashCode() s - if (s != null) s - if (this.s != null) s - if (s != null || this.s != null) s + if (s != null) s + if (this.s != null) s + if (s != null || this.s != null) s if (s != null || this.s != null) this.s } fun test() { - if (x != null) x.equals(null) - if (x != null) x.propT - if (x != null) x.propAny - if (x != null) x.propNullableT - if (x != null) x.propNullableAny - if (x != null) x.funT() - if (x != null) x.funAny() - if (x != null) x.funNullableT() - if (x != null) x.funNullableAny() - if (x != null) x + if (x != null) x.equals(null) + if (x != null) x.propT + if (x != null) x.propAny + if (x != null) x.propNullableT + if (x != null) x.propNullableAny + if (x != null) x.funT() + if (x != null) x.funAny() + if (x != null) x.funNullableT() + if (x != null) x.funNullableAny() + if (x != null) x - if (y != null) y.equals(null) + if (y != null) y.equals(null) - if (y != null) y.propT + if (y != null) y.propT - if (y != null) y.propAny + if (y != null) y.propAny - if (y != null) y.propNullableT + if (y != null) y.propNullableT - if (y != null) y.propNullableAny + if (y != null) y.propNullableAny - if (y != null) y.funT() + if (y != null) y.funT() - if (y != null) y.funAny() + if (y != null) y.funAny() - if (y != null) y.funNullableT() + if (y != null) y.funNullableT() - if (y != null) y.funNullableAny() - if (y != null) y + if (y != null) y.funNullableAny() + if (y != null) y - if (u != null) u.equals(null) + if (u != null) u.equals(null) - if (u != null) u.propT + if (u != null) u.propT - if (u != null) u.propAny + if (u != null) u.propAny - if (u != null) u.propNullableT + if (u != null) u.propNullableT - if (u != null) u.propNullableAny + if (u != null) u.propNullableAny - if (u != null) u.funT() + if (u != null) u.funT() - if (u != null) u.funAny() + if (u != null) u.funAny() - if (u != null) u.funNullableT() + if (u != null) u.funNullableT() - if (u != null) u.funNullableAny() - if (u != null) u + if (u != null) u.funNullableAny() + if (u != null) u - if (v != null) v.equals(null) + if (v != null) v.equals(null) - if (v != null) v.propT + if (v != null) v.propT - if (v != null) v.propAny + if (v != null) v.propAny - if (v != null) v.propNullableT + if (v != null) v.propNullableT - if (v != null) v.propNullableAny + if (v != null) v.propNullableAny - if (v != null) v.funT() + if (v != null) v.funT() - if (v != null) v.funAny() + if (v != null) v.funAny() - if (v != null) v.funNullableT() + if (v != null) v.funNullableT() - if (v != null) v.funNullableAny() - if (v != null) v + if (v != null) v.funNullableAny() + if (v != null) v - if (w != null) w.equals(null) + if (w != null) w.equals(null) - if (w != null) w.propT + if (w != null) w.propT - if (w != null) w.propAny + if (w != null) w.propAny - if (w != null) w.propNullableT + if (w != null) w.propNullableT - if (w != null) w.propNullableAny + if (w != null) w.propNullableAny - if (w != null) w.funT() + if (w != null) w.funT() - if (w != null) w.funAny() + if (w != null) w.funAny() - if (w != null) w.funNullableT() + if (w != null) w.funNullableT() - if (w != null) w.funNullableAny() - if (w != null) w + if (w != null) w.funNullableAny() + if (w != null) w - if (s != null) s.equals(null) + if (s != null) s.equals(null) - if (s != null) s.propT + if (s != null) s.propT - if (s != null) s.propAny + if (s != null) s.propAny - if (s != null) s.propNullableT + if (s != null) s.propNullableT - if (s != null) s.propNullableAny + if (s != null) s.propNullableAny - if (s != null) s.funT() + if (s != null) s.funT() - if (s != null) s.funAny() + if (s != null) s.funAny() - if (s != null) s.funNullableT() + if (s != null) s.funNullableT() - if (s != null) s.funNullableAny() - if (s != null) s + if (s != null) s.funNullableAny() + if (s != null) s } } @@ -4200,7 +4200,7 @@ fun case_32(a: Case32) { } // TESTCASE NUMBER: 33 -fun case_33(a: Int?, b: Int = if (a != null) a else 0) { +fun case_33(a: Int?, b: Int = if (a != null) a else 0) { a b.equals(null) b.propT diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/10.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/10.fir.kt index 3b0417ad0d5..f6096db5c39 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/10.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/10.fir.kt @@ -7,16 +7,16 @@ fun case_1() { val x = expandInv(Inv(select(10, null))) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -25,16 +25,16 @@ fun case_2() { val x = expandOut(Out(select(10, null))) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -43,16 +43,16 @@ fun case_3() { val x = expandInv(Inv(select(10, null))) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -61,16 +61,16 @@ fun case_4() { val x = expandOut(Out(select(10, null))) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -79,16 +79,16 @@ fun case_5() { val x = expandIn(In()) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -97,16 +97,16 @@ fun case_6() { val x = expandIn(In()) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -117,16 +117,16 @@ fun case_7() { val x = case_7(mutableMapOf(10 to 10)) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -137,16 +137,16 @@ fun case_8() { val x = case_8(mutableMapOf(10 to null)) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -157,16 +157,16 @@ fun case_9() { val x = case_9(mutableMapOf(null to 10)) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -177,16 +177,16 @@ fun case_10() { val x = case_10(mutableMapOf(10 to 10)) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -197,16 +197,16 @@ fun case_11() { val x = case_11(mutableMapOf(10 to 10)) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -217,16 +217,16 @@ fun case_12() { val x = case_12(mutableMapOf(10 to 11)) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -241,28 +241,28 @@ fun case_13() { val x = case_13(Out(), Out()) if (x != null) { - & Out?")!>x - & Out?")!>x.equals(null) - & Out?")!>x.propT - & Out?")!>x.propAny - & Out?")!>x.propNullableT - & Out?")!>x.propNullableAny - & Out?")!>x.funT() - & Out?")!>x.funAny() - & Out?")!>x.funNullableT() - & Out?")!>x.funNullableAny() + ? & Out")!>x + ? & Out")!>x.equals(null) + ? & Out")!>x.propT + ? & Out")!>x.propAny + ? & Out")!>x.propNullableT + ? & Out")!>x.propNullableAny + ? & Out")!>x.funT() + ? & Out")!>x.funAny() + ? & Out")!>x.funNullableT() + ? & Out")!>x.funNullableAny() val y = x.get() if (y != null) { - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() } } } @@ -274,28 +274,28 @@ fun case_14() { val x = case_14(Out(), Out()) if (x != null) { - & Out?")!>x - & Out?")!>x.equals(null) - & Out?")!>x.propT - & Out?")!>x.propAny - & Out?")!>x.propNullableT - & Out?")!>x.propNullableAny - & Out?")!>x.funT() - & Out?")!>x.funAny() - & Out?")!>x.funNullableT() - & Out?")!>x.funNullableAny() + ? & Out")!>x + ? & Out")!>x.equals(null) + ? & Out")!>x.propT + ? & Out")!>x.propAny + ? & Out")!>x.propNullableT + ? & Out")!>x.propNullableAny + ? & Out")!>x.funT() + ? & Out")!>x.funAny() + ? & Out")!>x.funNullableT() + ? & Out")!>x.funNullableAny() val y = x.get() if (y != null) { - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() } } } @@ -307,28 +307,28 @@ fun case_15() { val x = case_15(Out(), Out()) if (x != null) { - & Out?")!>x - & Out?")!>x.equals(null) - & Out?")!>x.propT - & Out?")!>x.propAny - & Out?")!>x.propNullableT - & Out?")!>x.propNullableAny - & Out?")!>x.funT() - & Out?")!>x.funAny() - & Out?")!>x.funNullableT() - & Out?")!>x.funNullableAny() + ? & Out")!>x + ? & Out")!>x.equals(null) + ? & Out")!>x.propT + ? & Out")!>x.propAny + ? & Out")!>x.propNullableT + ? & Out")!>x.propNullableAny + ? & Out")!>x.funT() + ? & Out")!>x.funAny() + ? & Out")!>x.funNullableT() + ? & Out")!>x.funNullableAny() val y = x.get() if (y != null) { - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() } } } @@ -344,28 +344,28 @@ fun case_16() { val x = case_16(Out(), Out()) if (x != null) { - & Out?")!>x - & Out?")!>x.equals(null) - & Out?")!>x.propT - & Out?")!>x.propAny - & Out?")!>x.propNullableT - & Out?")!>x.propNullableAny - & Out?")!>x.funT() - & Out?")!>x.funAny() - & Out?")!>x.funNullableT() - & Out?")!>x.funNullableAny() + ? & Out")!>x + ? & Out")!>x.equals(null) + ? & Out")!>x.propT + ? & Out")!>x.propAny + ? & Out")!>x.propNullableT + ? & Out")!>x.propNullableAny + ? & Out")!>x.funT() + ? & Out")!>x.funAny() + ? & Out")!>x.funNullableT() + ? & Out")!>x.funNullableAny() val y = x.get() if (y != null) { - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() } } } @@ -377,28 +377,28 @@ fun case_17() { val x = case_17(Out(), Out()) if (x != null) { - & Out?")!>x - & Out?")!>x.equals(null) - & Out?")!>x.propT - & Out?")!>x.propAny - & Out?")!>x.propNullableT - & Out?")!>x.propNullableAny - & Out?")!>x.funT() - & Out?")!>x.funAny() - & Out?")!>x.funNullableT() - & Out?")!>x.funNullableAny() + ? & Out")!>x + ? & Out")!>x.equals(null) + ? & Out")!>x.propT + ? & Out")!>x.propAny + ? & Out")!>x.propNullableT + ? & Out")!>x.propNullableAny + ? & Out")!>x.funT() + ? & Out")!>x.funAny() + ? & Out")!>x.funNullableT() + ? & Out")!>x.funNullableAny() val y = x.get() if (y != null) { - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() } } } @@ -425,16 +425,16 @@ fun case_18() { ")!>x.funNullableAny() val y = x.get() if (y != null) { - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() } } @@ -456,16 +456,16 @@ fun case_19() { ")!>x.funNullableAny() val y = x.get() if (y != null) { - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() } } @@ -476,16 +476,16 @@ fun case_20(y: Int?) { val x = case_20(Out(y), Out()) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -496,16 +496,16 @@ fun case_21(y: Int?) { val x = case_21(Out(y), Out()) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -516,16 +516,16 @@ fun case_22(y: Int?) { val x = case_22(Out(y), Out()) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -536,16 +536,16 @@ fun case_23(y: Int?) { val x = case_13(Out(y), Out()) if (x != null) { - & Out?")!>x - & Out?")!>x.equals(null) - & Out?")!>x.propT - & Out?")!>x.propAny - & Out?")!>x.propNullableT - & Out?")!>x.propNullableAny - & Out?")!>x.funT() - & Out?")!>x.funAny() - & Out?")!>x.funNullableT() - & Out?")!>x.funNullableAny() + ? & Out")!>x + ? & Out")!>x.equals(null) + ? & Out")!>x.propT + ? & Out")!>x.propAny + ? & Out")!>x.propNullableT + ? & Out")!>x.propNullableAny + ? & Out")!>x.funT() + ? & Out")!>x.funAny() + ? & Out")!>x.funNullableT() + ? & Out")!>x.funNullableAny() } } @@ -556,16 +556,16 @@ fun case_24(y: Int) { val x = case_13(Out(y), Out()) if (x != null) { - & Out?")!>x - & Out?")!>x.equals(null) - & Out?")!>x.propT - & Out?")!>x.propAny - & Out?")!>x.propNullableT - & Out?")!>x.propNullableAny - & Out?")!>x.funT() - & Out?")!>x.funAny() - & Out?")!>x.funNullableT() - & Out?")!>x.funNullableAny() + ? & Out")!>x + ? & Out")!>x.equals(null) + ? & Out")!>x.propT + ? & Out")!>x.propAny + ? & Out")!>x.propNullableT + ? & Out")!>x.propNullableAny + ? & Out")!>x.funT() + ? & Out")!>x.funAny() + ? & Out")!>x.funNullableT() + ? & Out")!>x.funNullableAny() } } @@ -581,16 +581,16 @@ fun case_25(y: Int) { val x = case_25(Out(Out(Out(Out(Out(y))))), Out(Out(Out(y)))) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -606,15 +606,15 @@ fun case_26(y: Int) { val x = case_26(Out(Out(Out(Out(Out(y))))), Out(Out(Out(y)))) if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/11.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/11.fir.kt index 578a5a62ed9..3fd9b27234c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/11.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/11.fir.kt @@ -9,16 +9,16 @@ fun case_1() { val x = case_1(Out(10), Inv(0.1)) if (x != null) { - & kotlin.Number? & kotlin.Comparable<*>?")!>x - & kotlin.Number? & kotlin.Comparable<*>?")!>x.equals(null) - & kotlin.Number? & kotlin.Comparable<*>?")!>x.propT - & kotlin.Number? & kotlin.Comparable<*>?")!>x.propAny - & kotlin.Number? & kotlin.Comparable<*>?")!>x.propNullableT - & kotlin.Number? & kotlin.Comparable<*>?")!>x.propNullableAny - & kotlin.Number? & kotlin.Comparable<*>?")!>x.funT() - & kotlin.Number? & kotlin.Comparable<*>?")!>x.funAny() - & kotlin.Number? & kotlin.Comparable<*>?")!>x.funNullableT() - & kotlin.Number? & kotlin.Comparable<*>?")!>x.funNullableAny() + ? & kotlin.Number & kotlin.Comparable<*>")!>x + ? & kotlin.Number & kotlin.Comparable<*>")!>x.equals(null) + ? & kotlin.Number & kotlin.Comparable<*>")!>x.propT + ? & kotlin.Number & kotlin.Comparable<*>")!>x.propAny + ? & kotlin.Number & kotlin.Comparable<*>")!>x.propNullableT + ? & kotlin.Number & kotlin.Comparable<*>")!>x.propNullableAny + ? & kotlin.Number & kotlin.Comparable<*>")!>x.funT() + ? & kotlin.Number & kotlin.Comparable<*>")!>x.funAny() + ? & kotlin.Number & kotlin.Comparable<*>")!>x.funNullableT() + ? & kotlin.Number & kotlin.Comparable<*>")!>x.funNullableAny() } } @@ -29,16 +29,16 @@ fun case_2(y: Int) { val x = case_2(Out(y), Inv(0.1)) if (x != null) { - & kotlin.Number? & kotlin.Comparable<*>?")!>x - & kotlin.Number? & kotlin.Comparable<*>?")!>x.equals(null) - & kotlin.Number? & kotlin.Comparable<*>?")!>x.propT - & kotlin.Number? & kotlin.Comparable<*>?")!>x.propAny - & kotlin.Number? & kotlin.Comparable<*>?")!>x.propNullableT - & kotlin.Number? & kotlin.Comparable<*>?")!>x.propNullableAny - & kotlin.Number? & kotlin.Comparable<*>?")!>x.funT() - & kotlin.Number? & kotlin.Comparable<*>?")!>x.funAny() - & kotlin.Number? & kotlin.Comparable<*>?")!>x.funNullableT() - & kotlin.Number? & kotlin.Comparable<*>?")!>x.funNullableAny() + ? & kotlin.Number & kotlin.Comparable<*>")!>x + ? & kotlin.Number & kotlin.Comparable<*>")!>x.equals(null) + ? & kotlin.Number & kotlin.Comparable<*>")!>x.propT + ? & kotlin.Number & kotlin.Comparable<*>")!>x.propAny + ? & kotlin.Number & kotlin.Comparable<*>")!>x.propNullableT + ? & kotlin.Number & kotlin.Comparable<*>")!>x.propNullableAny + ? & kotlin.Number & kotlin.Comparable<*>")!>x.funT() + ? & kotlin.Number & kotlin.Comparable<*>")!>x.funAny() + ? & kotlin.Number & kotlin.Comparable<*>")!>x.funNullableT() + ? & kotlin.Number & kotlin.Comparable<*>")!>x.funNullableAny() } } @@ -54,30 +54,30 @@ fun case_3(a: Int?, b: Float?, c: Double?, d: Boolean?) { }.apply { ?")!>this if (this != null) { - & kotlin.Number? & kotlin.Comparable<*>?")!>this - & kotlin.Number? & kotlin.Comparable<*>?")!>this.equals(null) - & kotlin.Number? & kotlin.Comparable<*>?")!>this.propT - & kotlin.Number? & kotlin.Comparable<*>?")!>this.propAny - & kotlin.Number? & kotlin.Comparable<*>?")!>this.propNullableT - & kotlin.Number? & kotlin.Comparable<*>?")!>this.propNullableAny - & kotlin.Number? & kotlin.Comparable<*>?")!>this.funT() - & kotlin.Number? & kotlin.Comparable<*>?")!>this.funAny() - & kotlin.Number? & kotlin.Comparable<*>?")!>this.funNullableT() - & kotlin.Number? & kotlin.Comparable<*>?")!>this.funNullableAny() + ? & kotlin.Number & kotlin.Comparable<*>")!>this + ? & kotlin.Number & kotlin.Comparable<*>")!>this.equals(null) + ? & kotlin.Number & kotlin.Comparable<*>")!>this.propT + ? & kotlin.Number & kotlin.Comparable<*>")!>this.propAny + ? & kotlin.Number & kotlin.Comparable<*>")!>this.propNullableT + ? & kotlin.Number & kotlin.Comparable<*>")!>this.propNullableAny + ? & kotlin.Number & kotlin.Comparable<*>")!>this.funT() + ? & kotlin.Number & kotlin.Comparable<*>")!>this.funAny() + ? & kotlin.Number & kotlin.Comparable<*>")!>this.funNullableT() + ? & kotlin.Number & kotlin.Comparable<*>")!>this.funNullableAny() } }.let { ?")!>it if (it != null) { - & kotlin.Number? & kotlin.Comparable<*>?")!>it - & kotlin.Number? & kotlin.Comparable<*>?")!>it.equals(null) - & kotlin.Number? & kotlin.Comparable<*>?")!>it.propT - & kotlin.Number? & kotlin.Comparable<*>?")!>it.propAny - & kotlin.Number? & kotlin.Comparable<*>?")!>it.propNullableT - & kotlin.Number? & kotlin.Comparable<*>?")!>it.propNullableAny - & kotlin.Number? & kotlin.Comparable<*>?")!>it.funT() - & kotlin.Number? & kotlin.Comparable<*>?")!>it.funAny() - & kotlin.Number? & kotlin.Comparable<*>?")!>it.funNullableT() - & kotlin.Number? & kotlin.Comparable<*>?")!>it.funNullableAny() + ? & kotlin.Number & kotlin.Comparable<*>")!>it + ? & kotlin.Number & kotlin.Comparable<*>")!>it.equals(null) + ? & kotlin.Number & kotlin.Comparable<*>")!>it.propT + ? & kotlin.Number & kotlin.Comparable<*>")!>it.propAny + ? & kotlin.Number & kotlin.Comparable<*>")!>it.propNullableT + ? & kotlin.Number & kotlin.Comparable<*>")!>it.propNullableAny + ? & kotlin.Number & kotlin.Comparable<*>")!>it.funT() + ? & kotlin.Number & kotlin.Comparable<*>")!>it.funAny() + ? & kotlin.Number & kotlin.Comparable<*>")!>it.funNullableT() + ? & kotlin.Number & kotlin.Comparable<*>")!>it.funNullableAny() } } } @@ -97,31 +97,31 @@ fun case_4(a: Interface1?, b: Interface2?, c: Boolean) { x.apply { this if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() } } x.let { it if (it != null) { - it - it.equals(null) - it.propT - it.propAny - it.propNullableT - it.propNullableAny - it.funT() - it.funAny() - it.funNullableT() - it.funNullableAny() + it + it.equals(null) + it.propT + it.propAny + it.propNullableT + it.propNullableAny + it.funT() + it.funAny() + it.funNullableT() + it.funNullableAny() } } } @@ -140,30 +140,30 @@ fun case_5(a: Interface1?, b: Interface2?, d: Boolean) { x.apply { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() } } x.let { if (it != null) { - it - it.equals(null) - it.propT - it.propAny - it.propNullableT - it.propNullableAny - it.funT() - it.funAny() - it.funNullableT() - it.funNullableAny() + it + it.equals(null) + it.propT + it.propAny + it.propNullableT + it.propNullableAny + it.funT() + it.funAny() + it.funNullableT() + it.funNullableAny() } } } @@ -182,38 +182,38 @@ fun case_6(a: Interface1?, b: Interface2, d: Boolean) { x.apply { this as Interface3 - this + this if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.itest1() - this.itest2() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.itest1() + this.itest2() } } x.let { it as Interface3 - it + it if (it != null) { - it - it.equals(null) - it.propT - it.propAny - it.propNullableT - it.propNullableAny - it.funT() - it.funAny() - it.funNullableT() - it.funNullableAny() - it.itest1() - it.itest2() + it + it.equals(null) + it.propT + it.propAny + it.propNullableT + it.propNullableAny + it.funT() + it.funAny() + it.funNullableT() + it.funNullableAny() + it.itest1() + it.itest2() } } } @@ -232,38 +232,38 @@ fun case_7(a: Interface1?, b: Interface2?, d: Boolean) { x.apply { this as Interface3? - this + this if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.itest1() - this.itest2() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.itest1() + this.itest2() } } x.let { it as Interface3? - it + it if (it != null) { - it - it.equals(null) - it.propT - it.propAny - it.propNullableT - it.propNullableAny - it.funT() - it.funAny() - it.funNullableT() - it.funNullableAny() - it.itest1() - it.itest2() + it + it.equals(null) + it.propT + it.propAny + it.propNullableT + it.propNullableAny + it.funT() + it.funAny() + it.funNullableT() + it.funNullableAny() + it.itest1() + it.itest2() } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt index 12f5812c047..5f1af413a73 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt @@ -55,32 +55,32 @@ fun T?.case_2() { // TESTCASE NUMBER: 3 fun T.case_3() { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() } } // TESTCASE NUMBER: 4 fun T?.case_4() { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() } } @@ -88,17 +88,17 @@ fun T?.case_4() { fun T?.case_5() { if (this is Interface1) { if (this != null) { - this - this.equals(null) + this + this.equals(null) this.propT - this.propAny - this.propNullableT - this.propNullableAny + this.propAny + this.propNullableT + this.propNullableAny this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.itest1() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.itest1() equals(this) itest1() @@ -148,17 +148,17 @@ fun T?.case_5() { fun T?.case_6() { if (this is Interface1?) { if (this != null) { - this - this.equals(null) + this + this.equals(null) this.propT - this.propAny - this.propNullableT - this.propNullableAny + this.propAny + this.propNullableT + this.propNullableAny this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.itest1() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.itest1() equals(this) itest1() @@ -207,17 +207,17 @@ fun T.case_7() { val x = this if (x is Interface1?) { if (x != null) { - x - x.equals(null) + x + x.equals(null) x.propT - x.propAny - x.propNullableT - x.propNullableAny + x.propAny + x.propNullableT + x.propNullableAny x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.itest1() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.itest1() x.apply { this @@ -263,17 +263,17 @@ fun T.case_7() { fun T.case_8() { if (this != null) { if (this is Interface1?) { - this - this.equals(null) + this + this.equals(null) this.propT - this.propAny - this.propNullableT - this.propNullableAny + this.propAny + this.propNullableT + this.propNullableAny this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.itest1() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.itest1() equals(this) itest1() @@ -392,17 +392,17 @@ fun T.case_9() { // TESTCASE NUMBER: 10 fun T.case_10() { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.toByte() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.toByte() equals(this) toByte() @@ -449,17 +449,17 @@ fun T.case_10() { fun T?.case_11() { if (this is Interface1?) { if (this != null) { - this - this.equals(null) + this + this.equals(null) this.propT - this.propAny - this.propNullableT - this.propNullableAny + this.propAny + this.propNullableT + this.propNullableAny this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.itest1() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.itest1() equals(this) itest1() @@ -506,18 +506,18 @@ fun T?.case_11() { // TESTCASE NUMBER: 12 fun T.case_12() where T : Number?, T: Interface1? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.itest1() - this.toByte() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.itest1() + this.toByte() equals(this) itest1() @@ -648,17 +648,17 @@ fun T.case_13() where T : Out<*>?, T: Comparable { */ fun ?> T.case_14() { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.get() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.get() equals(this) get() @@ -708,17 +708,17 @@ fun ?> T.case_14() { */ fun ?> T.case_15() { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.itest1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.itest1() equals(this) itest1() @@ -768,17 +768,17 @@ fun ?> T.case_15() { */ fun ?> T.case_16() { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.ip1test1() equals(this) ip1test1() @@ -828,17 +828,17 @@ fun ?> T.case_16() { */ fun ?> T.case_17() { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.ip1test1() equals(this) ip1test1() @@ -890,17 +890,17 @@ fun ?> T.case_18() { val y = this if (y != null) { - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() - y.ip1test1() + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() + y.ip1test1() equals(y) ip1test1() @@ -942,17 +942,17 @@ fun ?> T.case_18() { */ fun ?> T.case_19() { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.ip1test1() equals(this) ip1test1() @@ -1002,18 +1002,18 @@ fun ?> T.case_19() { */ fun T.case_20() where T: InterfaceWithTypeParameter1?, T: InterfaceWithTypeParameter2? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.ip1test1() - this.ip1test2() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.ip1test1() + this.ip1test2() equals(this) ip1test1() @@ -1067,19 +1067,19 @@ fun T.case_20() where T: InterfaceWithTypeParameter1?, T: InterfaceWit */ fun T.case_21() where T: InterfaceWithTypeParameter1?, T: InterfaceWithTypeParameter2?, T: InterfaceWithTypeParameter3? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.ip1test1() - this.ip1test2() - this.ip1test3() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.ip1test1() + this.ip1test2() + this.ip1test3() equals(this) ip1test1() @@ -1139,17 +1139,17 @@ fun >?> T.case var y = this if (y != null) { - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() - y.ip1test1() + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() + y.ip1test1() equals(y) ip1test1() @@ -1187,17 +1187,17 @@ fun >?> T.case // TESTCASE NUMBER: 23 fun >?> T.case_23() { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.ip1test1() equals(this) ip1test1() @@ -1243,17 +1243,17 @@ fun >?> T.case // TESTCASE NUMBER: 24 fun > InterfaceWithTypeParameter1?.case_24() { if (this != null) { - & InterfaceWithTypeParameter1?")!>this - & InterfaceWithTypeParameter1?")!>this.equals(null) - & InterfaceWithTypeParameter1?")!>this.propT - & InterfaceWithTypeParameter1?")!>this.propAny - & InterfaceWithTypeParameter1?")!>this.propNullableT - & InterfaceWithTypeParameter1?")!>this.propNullableAny - & InterfaceWithTypeParameter1?")!>this.funT() - & InterfaceWithTypeParameter1?")!>this.funAny() - & InterfaceWithTypeParameter1?")!>this.funNullableT() - & InterfaceWithTypeParameter1?")!>this.funNullableAny() - & InterfaceWithTypeParameter1?")!>this.ip1test1() + ? & InterfaceWithTypeParameter1")!>this + ? & InterfaceWithTypeParameter1")!>this.equals(null) + ? & InterfaceWithTypeParameter1")!>this.propT + ? & InterfaceWithTypeParameter1")!>this.propAny + ? & InterfaceWithTypeParameter1")!>this.propNullableT + ? & InterfaceWithTypeParameter1")!>this.propNullableAny + ? & InterfaceWithTypeParameter1")!>this.funT() + ? & InterfaceWithTypeParameter1")!>this.funAny() + ? & InterfaceWithTypeParameter1")!>this.funNullableT() + ? & InterfaceWithTypeParameter1")!>this.funNullableAny() + ? & InterfaceWithTypeParameter1")!>this.ip1test1() equals(this) ip1test1() @@ -1299,17 +1299,17 @@ fun > InterfaceWithTypeParameter1?.case // TESTCASE NUMBER: 25 fun > InterfaceWithTypeParameter1?.case_25() { if (this != null) { - & InterfaceWithTypeParameter1?")!>this - & InterfaceWithTypeParameter1?")!>this.equals(null) - & InterfaceWithTypeParameter1?")!>this.propT - & InterfaceWithTypeParameter1?")!>this.propAny - & InterfaceWithTypeParameter1?")!>this.propNullableT - & InterfaceWithTypeParameter1?")!>this.propNullableAny - & InterfaceWithTypeParameter1?")!>this.funT() - & InterfaceWithTypeParameter1?")!>this.funAny() - & InterfaceWithTypeParameter1?")!>this.funNullableT() - & InterfaceWithTypeParameter1?")!>this.funNullableAny() - & InterfaceWithTypeParameter1?")!>this.ip1test1() + ? & InterfaceWithTypeParameter1")!>this + ? & InterfaceWithTypeParameter1")!>this.equals(null) + ? & InterfaceWithTypeParameter1")!>this.propT + ? & InterfaceWithTypeParameter1")!>this.propAny + ? & InterfaceWithTypeParameter1")!>this.propNullableT + ? & InterfaceWithTypeParameter1")!>this.propNullableAny + ? & InterfaceWithTypeParameter1")!>this.funT() + ? & InterfaceWithTypeParameter1")!>this.funAny() + ? & InterfaceWithTypeParameter1")!>this.funNullableT() + ? & InterfaceWithTypeParameter1")!>this.funNullableAny() + ? & InterfaceWithTypeParameter1")!>this.ip1test1() equals(this) ip1test1() @@ -1355,17 +1355,17 @@ fun > InterfaceWithTypeParameter1?.cas // TESTCASE NUMBER: 26 fun > InterfaceWithTypeParameter1?.case_26() { if (this != null) { - & InterfaceWithTypeParameter1?")!>this - & InterfaceWithTypeParameter1?")!>this.equals(null) - & InterfaceWithTypeParameter1?")!>this.propT - & InterfaceWithTypeParameter1?")!>this.propAny - & InterfaceWithTypeParameter1?")!>this.propNullableT - & InterfaceWithTypeParameter1?")!>this.propNullableAny - & InterfaceWithTypeParameter1?")!>this.funT() - & InterfaceWithTypeParameter1?")!>this.funAny() - & InterfaceWithTypeParameter1?")!>this.funNullableT() - & InterfaceWithTypeParameter1?")!>this.funNullableAny() - & InterfaceWithTypeParameter1?")!>this.ip1test1() + ? & InterfaceWithTypeParameter1")!>this + ? & InterfaceWithTypeParameter1")!>this.equals(null) + ? & InterfaceWithTypeParameter1")!>this.propT + ? & InterfaceWithTypeParameter1")!>this.propAny + ? & InterfaceWithTypeParameter1")!>this.propNullableT + ? & InterfaceWithTypeParameter1")!>this.propNullableAny + ? & InterfaceWithTypeParameter1")!>this.funT() + ? & InterfaceWithTypeParameter1")!>this.funAny() + ? & InterfaceWithTypeParameter1")!>this.funNullableT() + ? & InterfaceWithTypeParameter1")!>this.funNullableAny() + ? & InterfaceWithTypeParameter1")!>this.ip1test1() equals(null) @@ -1427,17 +1427,17 @@ fun > InterfaceWithTypeParameter1?.case // TESTCASE NUMBER: 27 fun > InterfaceWithTypeParameter1?.case_27() { if (this != null) { - & InterfaceWithTypeParameter1?")!>this - & InterfaceWithTypeParameter1?")!>this.equals(null) - & InterfaceWithTypeParameter1?")!>this.propT - & InterfaceWithTypeParameter1?")!>this.propAny - & InterfaceWithTypeParameter1?")!>this.propNullableT - & InterfaceWithTypeParameter1?")!>this.propNullableAny - & InterfaceWithTypeParameter1?")!>this.funT() - & InterfaceWithTypeParameter1?")!>this.funAny() - & InterfaceWithTypeParameter1?")!>this.funNullableT() - & InterfaceWithTypeParameter1?")!>this.funNullableAny() - & InterfaceWithTypeParameter1?")!>this.ip1test1() + ? & InterfaceWithTypeParameter1")!>this + ? & InterfaceWithTypeParameter1")!>this.equals(null) + ? & InterfaceWithTypeParameter1")!>this.propT + ? & InterfaceWithTypeParameter1")!>this.propAny + ? & InterfaceWithTypeParameter1")!>this.propNullableT + ? & InterfaceWithTypeParameter1")!>this.propNullableAny + ? & InterfaceWithTypeParameter1")!>this.funT() + ? & InterfaceWithTypeParameter1")!>this.funAny() + ? & InterfaceWithTypeParameter1")!>this.funNullableT() + ? & InterfaceWithTypeParameter1")!>this.funNullableAny() + ? & InterfaceWithTypeParameter1")!>this.ip1test1() equals(null) @@ -1499,17 +1499,17 @@ fun > InterfaceWithTypeParameter1?.cas // TESTCASE NUMBER: 28 fun > InterfaceWithTypeParameter1?.case_28() { if (this != null) { - & InterfaceWithTypeParameter1?")!>this - & InterfaceWithTypeParameter1?")!>this.equals(null) - & InterfaceWithTypeParameter1?")!>this.propT - & InterfaceWithTypeParameter1?")!>this.propAny - & InterfaceWithTypeParameter1?")!>this.propNullableT - & InterfaceWithTypeParameter1?")!>this.propNullableAny - & InterfaceWithTypeParameter1?")!>this.funT() - & InterfaceWithTypeParameter1?")!>this.funAny() - & InterfaceWithTypeParameter1?")!>this.funNullableT() - & InterfaceWithTypeParameter1?")!>this.funNullableAny() - & InterfaceWithTypeParameter1?")!>this.ip1test1() + ? & InterfaceWithTypeParameter1")!>this + ? & InterfaceWithTypeParameter1")!>this.equals(null) + ? & InterfaceWithTypeParameter1")!>this.propT + ? & InterfaceWithTypeParameter1")!>this.propAny + ? & InterfaceWithTypeParameter1")!>this.propNullableT + ? & InterfaceWithTypeParameter1")!>this.propNullableAny + ? & InterfaceWithTypeParameter1")!>this.funT() + ? & InterfaceWithTypeParameter1")!>this.funAny() + ? & InterfaceWithTypeParameter1")!>this.funNullableT() + ? & InterfaceWithTypeParameter1")!>this.funNullableAny() + ? & InterfaceWithTypeParameter1")!>this.ip1test1() equals(null) @@ -1571,17 +1571,17 @@ fun > InterfaceWithTypeParameter1?. // TESTCASE NUMBER: 29 fun > InterfaceWithTypeParameter1?.case_29() { if (this != null) { - & InterfaceWithTypeParameter1?")!>this - & InterfaceWithTypeParameter1?")!>this.equals(null) - & InterfaceWithTypeParameter1?")!>this.propT - & InterfaceWithTypeParameter1?")!>this.propAny - & InterfaceWithTypeParameter1?")!>this.propNullableT - & InterfaceWithTypeParameter1?")!>this.propNullableAny - & InterfaceWithTypeParameter1?")!>this.funT() - & InterfaceWithTypeParameter1?")!>this.funAny() - & InterfaceWithTypeParameter1?")!>this.funNullableT() - & InterfaceWithTypeParameter1?")!>this.funNullableAny() - & InterfaceWithTypeParameter1?")!>this.ip1test1() + ? & InterfaceWithTypeParameter1")!>this + ? & InterfaceWithTypeParameter1")!>this.equals(null) + ? & InterfaceWithTypeParameter1")!>this.propT + ? & InterfaceWithTypeParameter1")!>this.propAny + ? & InterfaceWithTypeParameter1")!>this.propNullableT + ? & InterfaceWithTypeParameter1")!>this.propNullableAny + ? & InterfaceWithTypeParameter1")!>this.funT() + ? & InterfaceWithTypeParameter1")!>this.funAny() + ? & InterfaceWithTypeParameter1")!>this.funNullableT() + ? & InterfaceWithTypeParameter1")!>this.funNullableAny() + ? & InterfaceWithTypeParameter1")!>this.ip1test1() equals(null) @@ -1643,17 +1643,17 @@ fun > InterfaceWithTypeParameter1?. // TESTCASE NUMBER: 30 fun > InterfaceWithTypeParameter1?.case_30() { if (this != null) { - & InterfaceWithTypeParameter1?")!>this - & InterfaceWithTypeParameter1?")!>this.equals(null) - & InterfaceWithTypeParameter1?")!>this.propT - & InterfaceWithTypeParameter1?")!>this.propAny - & InterfaceWithTypeParameter1?")!>this.propNullableT - & InterfaceWithTypeParameter1?")!>this.propNullableAny - & InterfaceWithTypeParameter1?")!>this.funT() - & InterfaceWithTypeParameter1?")!>this.funAny() - & InterfaceWithTypeParameter1?")!>this.funNullableT() - & InterfaceWithTypeParameter1?")!>this.funNullableAny() - & InterfaceWithTypeParameter1?")!>this.ip1test1() + ? & InterfaceWithTypeParameter1")!>this + ? & InterfaceWithTypeParameter1")!>this.equals(null) + ? & InterfaceWithTypeParameter1")!>this.propT + ? & InterfaceWithTypeParameter1")!>this.propAny + ? & InterfaceWithTypeParameter1")!>this.propNullableT + ? & InterfaceWithTypeParameter1")!>this.propNullableAny + ? & InterfaceWithTypeParameter1")!>this.funT() + ? & InterfaceWithTypeParameter1")!>this.funAny() + ? & InterfaceWithTypeParameter1")!>this.funNullableT() + ? & InterfaceWithTypeParameter1")!>this.funNullableAny() + ? & InterfaceWithTypeParameter1")!>this.ip1test1() equals(null) @@ -1715,17 +1715,17 @@ fun > InterfaceWithTypeParameter1?.c // TESTCASE NUMBER: 31 fun > InterfaceWithTypeParameter1?.case_31() { if (this != null) { - & InterfaceWithTypeParameter1?")!>this - & InterfaceWithTypeParameter1?")!>this.equals(null) - & InterfaceWithTypeParameter1?")!>this.propT - & InterfaceWithTypeParameter1?")!>this.propAny - & InterfaceWithTypeParameter1?")!>this.propNullableT - & InterfaceWithTypeParameter1?")!>this.propNullableAny - & InterfaceWithTypeParameter1?")!>this.funT() - & InterfaceWithTypeParameter1?")!>this.funAny() - & InterfaceWithTypeParameter1?")!>this.funNullableT() - & InterfaceWithTypeParameter1?")!>this.funNullableAny() - & InterfaceWithTypeParameter1?")!>this.ip1test1() + ? & InterfaceWithTypeParameter1")!>this + ? & InterfaceWithTypeParameter1")!>this.equals(null) + ? & InterfaceWithTypeParameter1")!>this.propT + ? & InterfaceWithTypeParameter1")!>this.propAny + ? & InterfaceWithTypeParameter1")!>this.propNullableT + ? & InterfaceWithTypeParameter1")!>this.propNullableAny + ? & InterfaceWithTypeParameter1")!>this.funT() + ? & InterfaceWithTypeParameter1")!>this.funAny() + ? & InterfaceWithTypeParameter1")!>this.funNullableT() + ? & InterfaceWithTypeParameter1")!>this.funNullableAny() + ? & InterfaceWithTypeParameter1")!>this.ip1test1() equals(null) @@ -1787,17 +1787,17 @@ fun > InterfaceWithTypeParameter1? // TESTCASE NUMBER: 32 fun Map?.case_32() { if (this != null) { - & kotlin.collections.Map?")!>this - & kotlin.collections.Map?")!>this.equals(null) - & kotlin.collections.Map?")!>this.propT - & kotlin.collections.Map?")!>this.propAny - & kotlin.collections.Map?")!>this.propNullableT - & kotlin.collections.Map?")!>this.propNullableAny - & kotlin.collections.Map?")!>this.funT() - & kotlin.collections.Map?")!>this.funAny() - & kotlin.collections.Map?")!>this.funNullableT() - & kotlin.collections.Map?")!>this.funNullableAny() - & kotlin.collections.Map?")!>this.isEmpty() + ? & kotlin.collections.Map")!>this + ? & kotlin.collections.Map")!>this.equals(null) + ? & kotlin.collections.Map")!>this.propT + ? & kotlin.collections.Map")!>this.propAny + ? & kotlin.collections.Map")!>this.propNullableT + ? & kotlin.collections.Map")!>this.propNullableAny + ? & kotlin.collections.Map")!>this.funT() + ? & kotlin.collections.Map")!>this.funAny() + ? & kotlin.collections.Map")!>this.funNullableT() + ? & kotlin.collections.Map")!>this.funNullableAny() + ? & kotlin.collections.Map")!>this.isEmpty() equals(null) @@ -1859,17 +1859,17 @@ fun Map?.case_32() { // TESTCASE NUMBER: 33 fun InterfaceWithFiveTypeParameters1?.case_33() { if (this != null) { - & InterfaceWithFiveTypeParameters1?")!>this - & InterfaceWithFiveTypeParameters1?")!>this.equals(null) - & InterfaceWithFiveTypeParameters1?")!>this.propT - & InterfaceWithFiveTypeParameters1?")!>this.propAny - & InterfaceWithFiveTypeParameters1?")!>this.propNullableT - & InterfaceWithFiveTypeParameters1?")!>this.propNullableAny - & InterfaceWithFiveTypeParameters1?")!>this.funT() - & InterfaceWithFiveTypeParameters1?")!>this.funAny() - & InterfaceWithFiveTypeParameters1?")!>this.funNullableT() - & InterfaceWithFiveTypeParameters1?")!>this.funNullableAny() - & InterfaceWithFiveTypeParameters1?")!>this.itest() + ? & InterfaceWithFiveTypeParameters1")!>this + ? & InterfaceWithFiveTypeParameters1")!>this.equals(null) + ? & InterfaceWithFiveTypeParameters1")!>this.propT + ? & InterfaceWithFiveTypeParameters1")!>this.propAny + ? & InterfaceWithFiveTypeParameters1")!>this.propNullableT + ? & InterfaceWithFiveTypeParameters1")!>this.propNullableAny + ? & InterfaceWithFiveTypeParameters1")!>this.funT() + ? & InterfaceWithFiveTypeParameters1")!>this.funAny() + ? & InterfaceWithFiveTypeParameters1")!>this.funNullableT() + ? & InterfaceWithFiveTypeParameters1")!>this.funNullableAny() + ? & InterfaceWithFiveTypeParameters1")!>this.itest() equals(null) @@ -1931,17 +1931,17 @@ fun InterfaceWithFiveTypeParameters1?.case_33() { // TESTCASE NUMBER: 34 fun InterfaceWithTypeParameter1?.case_34() { if (this != null) { - & InterfaceWithTypeParameter1?")!>this - & InterfaceWithTypeParameter1?")!>this.equals(null) - & InterfaceWithTypeParameter1?")!>this.propT - & InterfaceWithTypeParameter1?")!>this.propAny - & InterfaceWithTypeParameter1?")!>this.propNullableT - & InterfaceWithTypeParameter1?")!>this.propNullableAny - & InterfaceWithTypeParameter1?")!>this.funT() - & InterfaceWithTypeParameter1?")!>this.funAny() - & InterfaceWithTypeParameter1?")!>this.funNullableT() - & InterfaceWithTypeParameter1?")!>this.funNullableAny() - & InterfaceWithTypeParameter1?")!>this.ip1test1() + ? & InterfaceWithTypeParameter1")!>this + ? & InterfaceWithTypeParameter1")!>this.equals(null) + ? & InterfaceWithTypeParameter1")!>this.propT + ? & InterfaceWithTypeParameter1")!>this.propAny + ? & InterfaceWithTypeParameter1")!>this.propNullableT + ? & InterfaceWithTypeParameter1")!>this.propNullableAny + ? & InterfaceWithTypeParameter1")!>this.funT() + ? & InterfaceWithTypeParameter1")!>this.funAny() + ? & InterfaceWithTypeParameter1")!>this.funNullableT() + ? & InterfaceWithTypeParameter1")!>this.funNullableAny() + ? & InterfaceWithTypeParameter1")!>this.ip1test1() equals(null) @@ -2003,17 +2003,17 @@ fun InterfaceWithTypeParameter1?.case_34() { // TESTCASE NUMBER: 35 fun InterfaceWithTypeParameter1?.case_35() { if (this != null) { - & InterfaceWithTypeParameter1?")!>this - & InterfaceWithTypeParameter1?")!>this.equals(null) - & InterfaceWithTypeParameter1?")!>this.propT - & InterfaceWithTypeParameter1?")!>this.propAny - & InterfaceWithTypeParameter1?")!>this.propNullableT - & InterfaceWithTypeParameter1?")!>this.propNullableAny - & InterfaceWithTypeParameter1?")!>this.funT() - & InterfaceWithTypeParameter1?")!>this.funAny() - & InterfaceWithTypeParameter1?")!>this.funNullableT() - & InterfaceWithTypeParameter1?")!>this.funNullableAny() - & InterfaceWithTypeParameter1?")!>this.ip1test1() + ? & InterfaceWithTypeParameter1")!>this + ? & InterfaceWithTypeParameter1")!>this.equals(null) + ? & InterfaceWithTypeParameter1")!>this.propT + ? & InterfaceWithTypeParameter1")!>this.propAny + ? & InterfaceWithTypeParameter1")!>this.propNullableT + ? & InterfaceWithTypeParameter1")!>this.propNullableAny + ? & InterfaceWithTypeParameter1")!>this.funT() + ? & InterfaceWithTypeParameter1")!>this.funAny() + ? & InterfaceWithTypeParameter1")!>this.funNullableT() + ? & InterfaceWithTypeParameter1")!>this.funNullableAny() + ? & InterfaceWithTypeParameter1")!>this.ip1test1() equals(null) @@ -2075,17 +2075,17 @@ fun InterfaceWithTypeParameter1?.case_35() { // TESTCASE NUMBER: 36 fun InterfaceWithTypeParameter1?.case_36() { if (this != null) { - & InterfaceWithTypeParameter1?")!>this - & InterfaceWithTypeParameter1?")!>this.equals(null) - & InterfaceWithTypeParameter1?")!>this.propT - & InterfaceWithTypeParameter1?")!>this.propAny - & InterfaceWithTypeParameter1?")!>this.propNullableT - & InterfaceWithTypeParameter1?")!>this.propNullableAny - & InterfaceWithTypeParameter1?")!>this.funT() - & InterfaceWithTypeParameter1?")!>this.funAny() - & InterfaceWithTypeParameter1?")!>this.funNullableT() - & InterfaceWithTypeParameter1?")!>this.funNullableAny() - & InterfaceWithTypeParameter1?")!>this.ip1test1() + ? & InterfaceWithTypeParameter1")!>this + ? & InterfaceWithTypeParameter1")!>this.equals(null) + ? & InterfaceWithTypeParameter1")!>this.propT + ? & InterfaceWithTypeParameter1")!>this.propAny + ? & InterfaceWithTypeParameter1")!>this.propNullableT + ? & InterfaceWithTypeParameter1")!>this.propNullableAny + ? & InterfaceWithTypeParameter1")!>this.funT() + ? & InterfaceWithTypeParameter1")!>this.funAny() + ? & InterfaceWithTypeParameter1")!>this.funNullableT() + ? & InterfaceWithTypeParameter1")!>this.funNullableAny() + ? & InterfaceWithTypeParameter1")!>this.ip1test1() equals(null) @@ -2147,17 +2147,17 @@ fun InterfaceWithTypeParameter1?.case_36() { // TESTCASE NUMBER: 37 fun Map?.case_37() { if (this != null) { - & kotlin.collections.Map?")!>this - & kotlin.collections.Map?")!>this.equals(null) - & kotlin.collections.Map?")!>this.propT - & kotlin.collections.Map?")!>this.propAny - & kotlin.collections.Map?")!>this.propNullableT - & kotlin.collections.Map?")!>this.propNullableAny - & kotlin.collections.Map?")!>this.funT() - & kotlin.collections.Map?")!>this.funAny() - & kotlin.collections.Map?")!>this.funNullableT() - & kotlin.collections.Map?")!>this.funNullableAny() - & kotlin.collections.Map?")!>this.isEmpty() + ? & kotlin.collections.Map")!>this + ? & kotlin.collections.Map")!>this.equals(null) + ? & kotlin.collections.Map")!>this.propT + ? & kotlin.collections.Map")!>this.propAny + ? & kotlin.collections.Map")!>this.propNullableT + ? & kotlin.collections.Map")!>this.propNullableAny + ? & kotlin.collections.Map")!>this.funT() + ? & kotlin.collections.Map")!>this.funAny() + ? & kotlin.collections.Map")!>this.funNullableT() + ? & kotlin.collections.Map")!>this.funNullableAny() + ? & kotlin.collections.Map")!>this.isEmpty() equals(null) @@ -2219,17 +2219,17 @@ fun Map?.case_37() { // TESTCASE NUMBER: 38 fun Map<*, out T>?.case_38() { if (this != null) { - & kotlin.collections.Map<*, out T>?")!>this - & kotlin.collections.Map<*, out T>?")!>this.equals(null) - & kotlin.collections.Map<*, out T>?")!>this.propT - & kotlin.collections.Map<*, out T>?")!>this.propAny - & kotlin.collections.Map<*, out T>?")!>this.propNullableT - & kotlin.collections.Map<*, out T>?")!>this.propNullableAny - & kotlin.collections.Map<*, out T>?")!>this.funT() - & kotlin.collections.Map<*, out T>?")!>this.funAny() - & kotlin.collections.Map<*, out T>?")!>this.funNullableT() - & kotlin.collections.Map<*, out T>?")!>this.funNullableAny() - & kotlin.collections.Map<*, out T>?")!>this.isEmpty() + ? & kotlin.collections.Map<*, out T>")!>this + ? & kotlin.collections.Map<*, out T>")!>this.equals(null) + ? & kotlin.collections.Map<*, out T>")!>this.propT + ? & kotlin.collections.Map<*, out T>")!>this.propAny + ? & kotlin.collections.Map<*, out T>")!>this.propNullableT + ? & kotlin.collections.Map<*, out T>")!>this.propNullableAny + ? & kotlin.collections.Map<*, out T>")!>this.funT() + ? & kotlin.collections.Map<*, out T>")!>this.funAny() + ? & kotlin.collections.Map<*, out T>")!>this.funNullableT() + ? & kotlin.collections.Map<*, out T>")!>this.funNullableAny() + ? & kotlin.collections.Map<*, out T>")!>this.isEmpty() equals(null) @@ -2291,16 +2291,16 @@ fun Map<*, out T>?.case_38() { // TESTCASE NUMBER: 39 fun InterfaceWithTwoTypeParameters?.case_39() { if (this != null) { - & InterfaceWithTwoTypeParameters?")!>this - & InterfaceWithTwoTypeParameters?")!>this.equals(null) - & InterfaceWithTwoTypeParameters?")!>this.propT - & InterfaceWithTwoTypeParameters?")!>this.propAny - & InterfaceWithTwoTypeParameters?")!>this.propNullableT - & InterfaceWithTwoTypeParameters?")!>this.propNullableAny - & InterfaceWithTwoTypeParameters?")!>this.funT() - & InterfaceWithTwoTypeParameters?")!>this.funAny() - & InterfaceWithTwoTypeParameters?")!>this.funNullableT() - & InterfaceWithTwoTypeParameters?")!>this.funNullableAny() + ? & InterfaceWithTwoTypeParameters")!>this + ? & InterfaceWithTwoTypeParameters")!>this.equals(null) + ? & InterfaceWithTwoTypeParameters")!>this.propT + ? & InterfaceWithTwoTypeParameters")!>this.propAny + ? & InterfaceWithTwoTypeParameters")!>this.propNullableT + ? & InterfaceWithTwoTypeParameters")!>this.propNullableAny + ? & InterfaceWithTwoTypeParameters")!>this.funT() + ? & InterfaceWithTwoTypeParameters")!>this.funAny() + ? & InterfaceWithTwoTypeParameters")!>this.funNullableT() + ? & InterfaceWithTwoTypeParameters")!>this.funNullableAny() equals(null) @@ -2358,16 +2358,16 @@ fun InterfaceWithTwoTypeParameters?.case_39() { // TESTCASE NUMBER: 40 fun InterfaceWithTwoTypeParameters?.case_40() { if (this != null) { - & InterfaceWithTwoTypeParameters?")!>this - & InterfaceWithTwoTypeParameters?")!>this.equals(null) - & InterfaceWithTwoTypeParameters?")!>this.propT - & InterfaceWithTwoTypeParameters?")!>this.propAny - & InterfaceWithTwoTypeParameters?")!>this.propNullableT - & InterfaceWithTwoTypeParameters?")!>this.propNullableAny - & InterfaceWithTwoTypeParameters?")!>this.funT() - & InterfaceWithTwoTypeParameters?")!>this.funAny() - & InterfaceWithTwoTypeParameters?")!>this.funNullableT() - & InterfaceWithTwoTypeParameters?")!>this.funNullableAny() + ? & InterfaceWithTwoTypeParameters")!>this + ? & InterfaceWithTwoTypeParameters")!>this.equals(null) + ? & InterfaceWithTwoTypeParameters")!>this.propT + ? & InterfaceWithTwoTypeParameters")!>this.propAny + ? & InterfaceWithTwoTypeParameters")!>this.propNullableT + ? & InterfaceWithTwoTypeParameters")!>this.propNullableAny + ? & InterfaceWithTwoTypeParameters")!>this.funT() + ? & InterfaceWithTwoTypeParameters")!>this.funAny() + ? & InterfaceWithTwoTypeParameters")!>this.funNullableT() + ? & InterfaceWithTwoTypeParameters")!>this.funNullableAny() equals(null) @@ -2425,17 +2425,17 @@ fun InterfaceWithTwoTypeParameters?.case_40() { // TESTCASE NUMBER: 41 fun Map?.case_41() { if (this != null) { - & kotlin.collections.Map?")!>this - & kotlin.collections.Map?")!>this.equals(null) - & kotlin.collections.Map?")!>this.propT - & kotlin.collections.Map?")!>this.propAny - & kotlin.collections.Map?")!>this.propNullableT - & kotlin.collections.Map?")!>this.propNullableAny - & kotlin.collections.Map?")!>this.funT() - & kotlin.collections.Map?")!>this.funAny() - & kotlin.collections.Map?")!>this.funNullableT() - & kotlin.collections.Map?")!>this.funNullableAny() - & kotlin.collections.Map?")!>this.isEmpty() + ? & kotlin.collections.Map")!>this + ? & kotlin.collections.Map")!>this.equals(null) + ? & kotlin.collections.Map")!>this.propT + ? & kotlin.collections.Map")!>this.propAny + ? & kotlin.collections.Map")!>this.propNullableT + ? & kotlin.collections.Map")!>this.propNullableAny + ? & kotlin.collections.Map")!>this.funT() + ? & kotlin.collections.Map")!>this.funAny() + ? & kotlin.collections.Map")!>this.funNullableT() + ? & kotlin.collections.Map")!>this.funNullableAny() + ? & kotlin.collections.Map")!>this.isEmpty() equals(null) @@ -2497,17 +2497,17 @@ fun Map?.case_41() { // TESTCASE NUMBER: 42 fun Map?.case_42() { if (this != null) { - & kotlin.collections.Map?")!>this - & kotlin.collections.Map?")!>this.equals(null) - & kotlin.collections.Map?")!>this.propT - & kotlin.collections.Map?")!>this.propAny - & kotlin.collections.Map?")!>this.propNullableT - & kotlin.collections.Map?")!>this.propNullableAny - & kotlin.collections.Map?")!>this.funT() - & kotlin.collections.Map?")!>this.funAny() - & kotlin.collections.Map?")!>this.funNullableT() - & kotlin.collections.Map?")!>this.funNullableAny() - & kotlin.collections.Map?")!>this.isEmpty() + ? & kotlin.collections.Map")!>this + ? & kotlin.collections.Map")!>this.equals(null) + ? & kotlin.collections.Map")!>this.propT + ? & kotlin.collections.Map")!>this.propAny + ? & kotlin.collections.Map")!>this.propNullableT + ? & kotlin.collections.Map")!>this.propNullableAny + ? & kotlin.collections.Map")!>this.funT() + ? & kotlin.collections.Map")!>this.funAny() + ? & kotlin.collections.Map")!>this.funNullableT() + ? & kotlin.collections.Map")!>this.funNullableAny() + ? & kotlin.collections.Map")!>this.isEmpty() equals(null) @@ -2569,17 +2569,17 @@ fun Map?.case_42() { // TESTCASE NUMBER: 43 fun Map?.case_43() { if (this != null) { - & kotlin.collections.Map?")!>this - & kotlin.collections.Map?")!>this.equals(null) - & kotlin.collections.Map?")!>this.propT - & kotlin.collections.Map?")!>this.propAny - & kotlin.collections.Map?")!>this.propNullableT - & kotlin.collections.Map?")!>this.propNullableAny - & kotlin.collections.Map?")!>this.funT() - & kotlin.collections.Map?")!>this.funAny() - & kotlin.collections.Map?")!>this.funNullableT() - & kotlin.collections.Map?")!>this.funNullableAny() - & kotlin.collections.Map?")!>this.isEmpty() + ? & kotlin.collections.Map")!>this + ? & kotlin.collections.Map")!>this.equals(null) + ? & kotlin.collections.Map")!>this.propT + ? & kotlin.collections.Map")!>this.propAny + ? & kotlin.collections.Map")!>this.propNullableT + ? & kotlin.collections.Map")!>this.propNullableAny + ? & kotlin.collections.Map")!>this.funT() + ? & kotlin.collections.Map")!>this.funAny() + ? & kotlin.collections.Map")!>this.funNullableT() + ? & kotlin.collections.Map")!>this.funNullableAny() + ? & kotlin.collections.Map")!>this.isEmpty() equals(null) @@ -2641,17 +2641,17 @@ fun Map?.case_43() { // TESTCASE NUMBER: 44 fun InterfaceWithFiveTypeParameters1?.case_44() { if (this != null) { - & InterfaceWithFiveTypeParameters1?")!>this - & InterfaceWithFiveTypeParameters1?")!>this.equals(null) - & InterfaceWithFiveTypeParameters1?")!>this.propT - & InterfaceWithFiveTypeParameters1?")!>this.propAny - & InterfaceWithFiveTypeParameters1?")!>this.propNullableT - & InterfaceWithFiveTypeParameters1?")!>this.propNullableAny - & InterfaceWithFiveTypeParameters1?")!>this.funT() - & InterfaceWithFiveTypeParameters1?")!>this.funAny() - & InterfaceWithFiveTypeParameters1?")!>this.funNullableT() - & InterfaceWithFiveTypeParameters1?")!>this.funNullableAny() - & InterfaceWithFiveTypeParameters1?")!>this.itest() + ? & InterfaceWithFiveTypeParameters1")!>this + ? & InterfaceWithFiveTypeParameters1")!>this.equals(null) + ? & InterfaceWithFiveTypeParameters1")!>this.propT + ? & InterfaceWithFiveTypeParameters1")!>this.propAny + ? & InterfaceWithFiveTypeParameters1")!>this.propNullableT + ? & InterfaceWithFiveTypeParameters1")!>this.propNullableAny + ? & InterfaceWithFiveTypeParameters1")!>this.funT() + ? & InterfaceWithFiveTypeParameters1")!>this.funAny() + ? & InterfaceWithFiveTypeParameters1")!>this.funNullableT() + ? & InterfaceWithFiveTypeParameters1")!>this.funNullableAny() + ? & InterfaceWithFiveTypeParameters1")!>this.itest() equals(null) @@ -2713,18 +2713,18 @@ fun InterfaceWithFiveTypeParameters1?.case_44() { // TESTCASE NUMBER: 45 fun T.case_45() where T : Number?, T: Comparable? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.toByte() - this.compareTo(this) + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.toByte() + this.compareTo(this) equals(this) toByte() @@ -2774,19 +2774,19 @@ fun T.case_45() where T : Number?, T: Comparable? { // TESTCASE NUMBER: 46 fun T.case_46() where T : CharSequence?, T: Comparable?, T: Iterable<*>? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.compareTo(this) - this.get(0) - this.iterator() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.compareTo(this) + this.get(0) + this.iterator() equals(this) compareTo(this) @@ -2844,18 +2844,18 @@ fun T.case_46() where T : CharSequence?, T: Comparable?, T: Iterable<*>? */ fun T?.case_47() where T : Inv, T: Comparable<*>?, T: InterfaceWithTypeParameter1? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.get() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.get() + this.ip1test1() equals(this) get() @@ -2900,7 +2900,7 @@ fun T?.case_47() where T : Inv, T: Comparable<*>?, T: InterfaceWithTypePa it.ip1test1() } - this.compareTo(return) + this.compareTo(return) compareTo(return) apply { @@ -2921,18 +2921,18 @@ fun T?.case_47() where T : Inv, T: Comparable<*>?, T: InterfaceWithTypePa */ fun T?.case_48() where T : Inv, T: InterfaceWithTypeParameter1? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.get() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.get() + this.ip1test1() equals(this) get() @@ -2986,18 +2986,18 @@ fun T?.case_48() where T : Inv, T: InterfaceWithTypeParameter1? */ fun T?.case_49() where T : Inv, T: InterfaceWithTypeParameter1? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.get() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.get() + this.ip1test1() equals(this) get() @@ -3051,18 +3051,18 @@ fun T?.case_49() where T : Inv, T: InterfaceWithTypeParameter1? */ fun T?.case_50() where T : Inv, T: InterfaceWithTypeParameter1? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.get() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.get() + this.ip1test1() equals(this) get() @@ -3116,18 +3116,18 @@ fun T?.case_50() where T : Inv, T: InterfaceWithTypeParameter1 */ fun T?.case_51() where T : Inv, T: InterfaceWithTypeParameter1? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.get() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.get() + this.ip1test1() equals(this) get() @@ -3177,18 +3177,18 @@ fun T?.case_51() where T : Inv, T: InterfaceWithTypeParameter1? { // TESTCASE NUMBER: 52 fun T?.case_52() where T : Inv, T: InterfaceWithTypeParameter1? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.get() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.get() + this.ip1test1() equals(this) get() @@ -3242,18 +3242,18 @@ fun T?.case_52() where T : Inv, T: InterfaceWithTypeParameter1? { */ fun T?.case_53() where T : Inv, T: InterfaceWithTypeParameter1<*>? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.get() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.get() + this.ip1test1() equals(this) get() @@ -3307,18 +3307,18 @@ fun T?.case_53() where T : Inv, T: InterfaceWithTypeParameter1<*>? { */ fun T?.case_54() where T : Inv<*>, T: InterfaceWithTypeParameter1? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.get() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.get() + this.ip1test1() equals(this) get() @@ -3368,18 +3368,18 @@ fun T?.case_54() where T : Inv<*>, T: InterfaceWithTypeParameter1? { // TESTCASE NUMBER: 55 fun T?.case_55() where T : Inv<*>, T: InterfaceWithTypeParameter1? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.get() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.get() + this.ip1test1() equals(this) get() @@ -3429,18 +3429,18 @@ fun T?.case_55() where T : Inv<*>, T: InterfaceWithTypeParameter1? { // TESTCASE NUMBER: 56 fun T.case_56() where T : Number?, T: Interface1? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.itest() - this.toByte() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.itest() + this.toByte() equals(this) itest() @@ -3571,17 +3571,17 @@ fun T.case_57() where T : Out<*>?, T: Comparable { // TESTCASE NUMBER: 58 fun >>>>>>>>>?> T.case_59() { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.ip1test1() equals(this) ip1test1() @@ -3631,19 +3631,19 @@ fun T.case_59() where T: InterfaceWithFiveTypeParameters1?, T: InterfaceWithFiveTypeParameters2?, T: InterfaceWithFiveTypeParameters3? { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.itest1() - this.itest2() - this.itest3() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.itest1() + this.itest2() + this.itest3() equals(this) itest1() @@ -3701,17 +3701,17 @@ fun T.case_59() where T: InterfaceWithFiveTypeParameters1?> T.case_60() { if (this != null) { - this - this.equals(null) - this.propT - this.propAny - this.propNullableT - this.propNullableAny - this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() - this.ip1test1() + this + this.equals(null) + this.propT + this.propAny + this.propNullableT + this.propNullableAny + this.funT() + this.funAny() + this.funNullableT() + this.funNullableAny() + this.ip1test1() equals(this) ip1test1() @@ -3766,10 +3766,10 @@ class Case61_3: InterfaceWithTypeParameter1, Case61_1, Case61_2 { fun T.case_61() where T : InterfaceWithTypeParameter1?, T: Case61_3?, T: Case61_1?, T: Case61_2? { if (this != null) { - this.test1() - this.test2() - this.ip1test1() - this.test4() + this.test1() + this.test2() + this.ip1test1() + this.test4() test1() test2() @@ -3799,8 +3799,8 @@ fun T.case_61() where T : InterfaceWithTypeParameter1?, T: Case61_3?, // TESTCASE NUMBER: 62 fun Nothing?.case_62() { if (this != null) { - this - this.hashCode() + this + this.hashCode() hashCode() apply { @@ -3840,8 +3840,8 @@ fun Nothing.case_63() { */ fun T.case_64() { if (this != null) { - this - this.hashCode() + this + this.hashCode() hashCode() apply { @@ -3865,16 +3865,16 @@ fun T.case_65() { if (this is Interface1?) { if (this is Interface2?) { if (this != null) { - this - this.equals(null) + this + this.equals(null) this.propT - this.propAny - this.propNullableT - this.propNullableAny + this.propAny + this.propNullableT + this.propNullableAny this.funT() - this.funAny() - this.funNullableT() - this.funNullableAny() + this.funAny() + this.funNullableT() + this.funNullableAny() apply { this this.equals(null) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt index e26b99a1e6c..48459ac32c3 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt @@ -75,32 +75,32 @@ fun case_2(x: T?, y: Nothing?) { // TESTCASE NUMBER: 3 fun case_3(x: T) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } // TESTCASE NUMBER: 4 fun case_4(x: T?) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -108,36 +108,36 @@ fun case_4(x: T?) { fun case_5(x: T?) { if (x is Interface1) { if (x != null) { - x - x.equals(null) + x + x.equals(null) x.propT - x.propAny - x.propNullableT - x.propNullableAny + x.propAny + x.propNullableT + x.propNullableAny x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.itest() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.itest() - x.equals(null) + x.equals(null) x.propT - x.propAny + x.propAny - x.propNullableT + x.propNullableT - x.propNullableAny + x.propNullableAny x.funT() - x.funAny() + x.funAny() - x.funNullableT() + x.funNullableT() - x.funNullableAny() - x.itest() + x.funNullableAny() + x.itest() x.apply { this this @@ -184,17 +184,17 @@ fun case_5(x: T?) { fun case_6(x: T?) { if (x is Interface1?) { if (x != null) { - x - x.equals(null) + x + x.equals(null) x.propT - x.propAny - x.propNullableT - x.propNullableAny + x.propAny + x.propNullableT + x.propNullableAny x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.itest() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.itest() x.equals(null) @@ -259,17 +259,17 @@ fun case_7(y: T) { val x = y if (x is Interface1?) { if (x != null) { - x - x.equals(null) + x + x.equals(null) x.propT - x.propAny - x.propNullableT - x.propNullableAny + x.propAny + x.propNullableT + x.propNullableAny x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.itest() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.itest() x.apply { this @@ -315,17 +315,17 @@ fun case_7(y: T) { fun case_8(x: T) { if (x != null) { if (x is Interface1?) { - x - x.equals(null) + x + x.equals(null) x.propT - x.propAny - x.propNullableT - x.propNullableAny + x.propAny + x.propNullableT + x.propNullableAny x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.itest() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.itest() x.equals(null) @@ -460,17 +460,17 @@ fun case_9(x: T) { // TESTCASE NUMBER: 10 fun case_10(x: T) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.toByte() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.toByte() x.equals(null) @@ -533,17 +533,17 @@ fun case_10(x: T) { fun case_11(x: T?) { if (x is Interface1?) { if (x != null) { - x - x.equals(null) + x + x.equals(null) x.propT - x.propAny - x.propNullableT - x.propNullableAny + x.propAny + x.propNullableT + x.propNullableAny x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.itest() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.itest() x.equals(null) @@ -606,18 +606,18 @@ fun case_11(x: T?) { // TESTCASE NUMBER: 12 fun case_12(x: T) where T : Number?, T: Interface1? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.itest() - x.toByte() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.itest() + x.toByte() x.equals(null) @@ -763,17 +763,17 @@ fun case_13(x: T) where T : Out<*>?, T: Comparable { */ fun ?> case_14(x: T) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.get() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.get() x.equals(null) @@ -838,17 +838,17 @@ fun ?> case_14(x: T) { */ fun ?> case_15(x: T) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.itest() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.itest() x.equals(null) @@ -913,17 +913,17 @@ fun ?> case_15(x: T) { */ fun ?> case_16(x: T) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.ip1test1() x.equals(null) @@ -988,17 +988,17 @@ fun ?> case_16(x: T) { */ fun ?> case_17(x: T) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.ip1test1() x.equals(null) @@ -1065,17 +1065,17 @@ fun ?> case_18(x: T) { val y = x if (y != null) { - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() - y.ip1test1() + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() + y.ip1test1() x.equals(null) @@ -1140,17 +1140,17 @@ fun ?> case_18(x: T) { */ fun ?> case_19(x: T) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.ip1test1() x.equals(null) @@ -1215,18 +1215,18 @@ fun ?> case_19(x: T) { */ fun case_20(x: T) where T: InterfaceWithTypeParameter1?, T: InterfaceWithTypeParameter2? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.ip1test1() - x.ip1test2() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.ip1test1() + x.ip1test2() x.equals(null) @@ -1295,19 +1295,19 @@ fun case_20(x: T) where T: InterfaceWithTypeParameter1?, T: InterfaceW */ fun case_21(x: T) where T: InterfaceWithTypeParameter1?, T: InterfaceWithTypeParameter2?, T: InterfaceWithTypeParameter3? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.ip1test1() - x.ip1test2() - x.ip1test3() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.ip1test1() + x.ip1test2() + x.ip1test3() x.equals(null) @@ -1383,17 +1383,17 @@ fun >?> case_2 var y = x if (y != null) { - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() - y.ip1test1() + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() + y.ip1test1() x.equals(null) @@ -1447,17 +1447,17 @@ fun >?> case_2 // TESTCASE NUMBER: 23 fun >?> case_23(x: T) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.ip1test1() x.equals(null) @@ -1519,17 +1519,17 @@ fun >?> case_2 // TESTCASE NUMBER: 24 fun > case_24(x: InterfaceWithTypeParameter1?) { if (x != null) { - & InterfaceWithTypeParameter1?")!>x - & InterfaceWithTypeParameter1?")!>x.equals(null) - & InterfaceWithTypeParameter1?")!>x.propT - & InterfaceWithTypeParameter1?")!>x.propAny - & InterfaceWithTypeParameter1?")!>x.propNullableT - & InterfaceWithTypeParameter1?")!>x.propNullableAny - & InterfaceWithTypeParameter1?")!>x.funT() - & InterfaceWithTypeParameter1?")!>x.funAny() - & InterfaceWithTypeParameter1?")!>x.funNullableT() - & InterfaceWithTypeParameter1?")!>x.funNullableAny() - & InterfaceWithTypeParameter1?")!>x.ip1test1() + ? & InterfaceWithTypeParameter1")!>x + ? & InterfaceWithTypeParameter1")!>x.equals(null) + ? & InterfaceWithTypeParameter1")!>x.propT + ? & InterfaceWithTypeParameter1")!>x.propAny + ? & InterfaceWithTypeParameter1")!>x.propNullableT + ? & InterfaceWithTypeParameter1")!>x.propNullableAny + ? & InterfaceWithTypeParameter1")!>x.funT() + ? & InterfaceWithTypeParameter1")!>x.funAny() + ? & InterfaceWithTypeParameter1")!>x.funNullableT() + ? & InterfaceWithTypeParameter1")!>x.funNullableAny() + ? & InterfaceWithTypeParameter1")!>x.ip1test1() x.equals(null) @@ -1591,17 +1591,17 @@ fun > case_24(x: InterfaceWithTypeParamete // TESTCASE NUMBER: 25 fun > case_25(x: InterfaceWithTypeParameter1?) { if (x != null) { - & InterfaceWithTypeParameter1?")!>x - & InterfaceWithTypeParameter1?")!>x.equals(null) - & InterfaceWithTypeParameter1?")!>x.propT - & InterfaceWithTypeParameter1?")!>x.propAny - & InterfaceWithTypeParameter1?")!>x.propNullableT - & InterfaceWithTypeParameter1?")!>x.propNullableAny - & InterfaceWithTypeParameter1?")!>x.funT() - & InterfaceWithTypeParameter1?")!>x.funAny() - & InterfaceWithTypeParameter1?")!>x.funNullableT() - & InterfaceWithTypeParameter1?")!>x.funNullableAny() - & InterfaceWithTypeParameter1?")!>x.ip1test1() + ? & InterfaceWithTypeParameter1")!>x + ? & InterfaceWithTypeParameter1")!>x.equals(null) + ? & InterfaceWithTypeParameter1")!>x.propT + ? & InterfaceWithTypeParameter1")!>x.propAny + ? & InterfaceWithTypeParameter1")!>x.propNullableT + ? & InterfaceWithTypeParameter1")!>x.propNullableAny + ? & InterfaceWithTypeParameter1")!>x.funT() + ? & InterfaceWithTypeParameter1")!>x.funAny() + ? & InterfaceWithTypeParameter1")!>x.funNullableT() + ? & InterfaceWithTypeParameter1")!>x.funNullableAny() + ? & InterfaceWithTypeParameter1")!>x.ip1test1() x.equals(null) @@ -1663,17 +1663,17 @@ fun > case_25(x: InterfaceWithTypeParamet // TESTCASE NUMBER: 26 fun > case_26(x: InterfaceWithTypeParameter1?) { if (x != null) { - & InterfaceWithTypeParameter1?")!>x - & InterfaceWithTypeParameter1?")!>x.equals(null) - & InterfaceWithTypeParameter1?")!>x.propT - & InterfaceWithTypeParameter1?")!>x.propAny - & InterfaceWithTypeParameter1?")!>x.propNullableT - & InterfaceWithTypeParameter1?")!>x.propNullableAny - & InterfaceWithTypeParameter1?")!>x.funT() - & InterfaceWithTypeParameter1?")!>x.funAny() - & InterfaceWithTypeParameter1?")!>x.funNullableT() - & InterfaceWithTypeParameter1?")!>x.funNullableAny() - & InterfaceWithTypeParameter1?")!>x.ip1test1() + ? & InterfaceWithTypeParameter1")!>x + ? & InterfaceWithTypeParameter1")!>x.equals(null) + ? & InterfaceWithTypeParameter1")!>x.propT + ? & InterfaceWithTypeParameter1")!>x.propAny + ? & InterfaceWithTypeParameter1")!>x.propNullableT + ? & InterfaceWithTypeParameter1")!>x.propNullableAny + ? & InterfaceWithTypeParameter1")!>x.funT() + ? & InterfaceWithTypeParameter1")!>x.funAny() + ? & InterfaceWithTypeParameter1")!>x.funNullableT() + ? & InterfaceWithTypeParameter1")!>x.funNullableAny() + ? & InterfaceWithTypeParameter1")!>x.ip1test1() x.equals(null) @@ -1735,17 +1735,17 @@ fun > case_26(x: InterfaceWithTypeParameter1< // TESTCASE NUMBER: 27 fun > case_27(x: InterfaceWithTypeParameter1?) { if (x != null) { - & InterfaceWithTypeParameter1?")!>x - & InterfaceWithTypeParameter1?")!>x.equals(null) - & InterfaceWithTypeParameter1?")!>x.propT - & InterfaceWithTypeParameter1?")!>x.propAny - & InterfaceWithTypeParameter1?")!>x.propNullableT - & InterfaceWithTypeParameter1?")!>x.propNullableAny - & InterfaceWithTypeParameter1?")!>x.funT() - & InterfaceWithTypeParameter1?")!>x.funAny() - & InterfaceWithTypeParameter1?")!>x.funNullableT() - & InterfaceWithTypeParameter1?")!>x.funNullableAny() - & InterfaceWithTypeParameter1?")!>x.ip1test1() + ? & InterfaceWithTypeParameter1")!>x + ? & InterfaceWithTypeParameter1")!>x.equals(null) + ? & InterfaceWithTypeParameter1")!>x.propT + ? & InterfaceWithTypeParameter1")!>x.propAny + ? & InterfaceWithTypeParameter1")!>x.propNullableT + ? & InterfaceWithTypeParameter1")!>x.propNullableAny + ? & InterfaceWithTypeParameter1")!>x.funT() + ? & InterfaceWithTypeParameter1")!>x.funAny() + ? & InterfaceWithTypeParameter1")!>x.funNullableT() + ? & InterfaceWithTypeParameter1")!>x.funNullableAny() + ? & InterfaceWithTypeParameter1")!>x.ip1test1() x.equals(null) @@ -1807,17 +1807,17 @@ fun > case_27(x: InterfaceWithTypeParameter1< // TESTCASE NUMBER: 28 fun > case_28(x: InterfaceWithTypeParameter1?) { if (x != null) { - & InterfaceWithTypeParameter1?")!>x - & InterfaceWithTypeParameter1?")!>x.equals(null) - & InterfaceWithTypeParameter1?")!>x.propT - & InterfaceWithTypeParameter1?")!>x.propAny - & InterfaceWithTypeParameter1?")!>x.propNullableT - & InterfaceWithTypeParameter1?")!>x.propNullableAny - & InterfaceWithTypeParameter1?")!>x.funT() - & InterfaceWithTypeParameter1?")!>x.funAny() - & InterfaceWithTypeParameter1?")!>x.funNullableT() - & InterfaceWithTypeParameter1?")!>x.funNullableAny() - & InterfaceWithTypeParameter1?")!>x.ip1test1() + ? & InterfaceWithTypeParameter1")!>x + ? & InterfaceWithTypeParameter1")!>x.equals(null) + ? & InterfaceWithTypeParameter1")!>x.propT + ? & InterfaceWithTypeParameter1")!>x.propAny + ? & InterfaceWithTypeParameter1")!>x.propNullableT + ? & InterfaceWithTypeParameter1")!>x.propNullableAny + ? & InterfaceWithTypeParameter1")!>x.funT() + ? & InterfaceWithTypeParameter1")!>x.funAny() + ? & InterfaceWithTypeParameter1")!>x.funNullableT() + ? & InterfaceWithTypeParameter1")!>x.funNullableAny() + ? & InterfaceWithTypeParameter1")!>x.ip1test1() x.equals(null) @@ -1879,17 +1879,17 @@ fun > case_28(x: InterfaceWithTypeParamete // TESTCASE NUMBER: 29 fun > case_29(x: InterfaceWithTypeParameter1?) { if (x != null) { - & InterfaceWithTypeParameter1?")!>x - & InterfaceWithTypeParameter1?")!>x.equals(null) - & InterfaceWithTypeParameter1?")!>x.propT - & InterfaceWithTypeParameter1?")!>x.propAny - & InterfaceWithTypeParameter1?")!>x.propNullableT - & InterfaceWithTypeParameter1?")!>x.propNullableAny - & InterfaceWithTypeParameter1?")!>x.funT() - & InterfaceWithTypeParameter1?")!>x.funAny() - & InterfaceWithTypeParameter1?")!>x.funNullableT() - & InterfaceWithTypeParameter1?")!>x.funNullableAny() - & InterfaceWithTypeParameter1?")!>x.ip1test1() + ? & InterfaceWithTypeParameter1")!>x + ? & InterfaceWithTypeParameter1")!>x.equals(null) + ? & InterfaceWithTypeParameter1")!>x.propT + ? & InterfaceWithTypeParameter1")!>x.propAny + ? & InterfaceWithTypeParameter1")!>x.propNullableT + ? & InterfaceWithTypeParameter1")!>x.propNullableAny + ? & InterfaceWithTypeParameter1")!>x.funT() + ? & InterfaceWithTypeParameter1")!>x.funAny() + ? & InterfaceWithTypeParameter1")!>x.funNullableT() + ? & InterfaceWithTypeParameter1")!>x.funNullableAny() + ? & InterfaceWithTypeParameter1")!>x.ip1test1() x.equals(null) @@ -1951,17 +1951,17 @@ fun > case_29(x: InterfaceWithTypeParamet // TESTCASE NUMBER: 30 fun > case_30(x: InterfaceWithTypeParameter1?) { if (x != null) { - & InterfaceWithTypeParameter1?")!>x - & InterfaceWithTypeParameter1?")!>x.equals(null) - & InterfaceWithTypeParameter1?")!>x.propT - & InterfaceWithTypeParameter1?")!>x.propAny - & InterfaceWithTypeParameter1?")!>x.propNullableT - & InterfaceWithTypeParameter1?")!>x.propNullableAny - & InterfaceWithTypeParameter1?")!>x.funT() - & InterfaceWithTypeParameter1?")!>x.funAny() - & InterfaceWithTypeParameter1?")!>x.funNullableT() - & InterfaceWithTypeParameter1?")!>x.funNullableAny() - & InterfaceWithTypeParameter1?")!>x.ip1test1() + ? & InterfaceWithTypeParameter1")!>x + ? & InterfaceWithTypeParameter1")!>x.equals(null) + ? & InterfaceWithTypeParameter1")!>x.propT + ? & InterfaceWithTypeParameter1")!>x.propAny + ? & InterfaceWithTypeParameter1")!>x.propNullableT + ? & InterfaceWithTypeParameter1")!>x.propNullableAny + ? & InterfaceWithTypeParameter1")!>x.funT() + ? & InterfaceWithTypeParameter1")!>x.funAny() + ? & InterfaceWithTypeParameter1")!>x.funNullableT() + ? & InterfaceWithTypeParameter1")!>x.funNullableAny() + ? & InterfaceWithTypeParameter1")!>x.ip1test1() x.equals(null) @@ -2023,17 +2023,17 @@ fun > case_30(x: InterfaceWithTypeParamete // TESTCASE NUMBER: 31 fun > case_31(x: InterfaceWithTypeParameter1?) { if (x != null) { - & InterfaceWithTypeParameter1?")!>x - & InterfaceWithTypeParameter1?")!>x.equals(null) - & InterfaceWithTypeParameter1?")!>x.propT - & InterfaceWithTypeParameter1?")!>x.propAny - & InterfaceWithTypeParameter1?")!>x.propNullableT - & InterfaceWithTypeParameter1?")!>x.propNullableAny - & InterfaceWithTypeParameter1?")!>x.funT() - & InterfaceWithTypeParameter1?")!>x.funAny() - & InterfaceWithTypeParameter1?")!>x.funNullableT() - & InterfaceWithTypeParameter1?")!>x.funNullableAny() - & InterfaceWithTypeParameter1?")!>x.ip1test1() + ? & InterfaceWithTypeParameter1")!>x + ? & InterfaceWithTypeParameter1")!>x.equals(null) + ? & InterfaceWithTypeParameter1")!>x.propT + ? & InterfaceWithTypeParameter1")!>x.propAny + ? & InterfaceWithTypeParameter1")!>x.propNullableT + ? & InterfaceWithTypeParameter1")!>x.propNullableAny + ? & InterfaceWithTypeParameter1")!>x.funT() + ? & InterfaceWithTypeParameter1")!>x.funAny() + ? & InterfaceWithTypeParameter1")!>x.funNullableT() + ? & InterfaceWithTypeParameter1")!>x.funNullableAny() + ? & InterfaceWithTypeParameter1")!>x.ip1test1() x.equals(null) @@ -2095,17 +2095,17 @@ fun > case_31(x: InterfaceWithTypeParamet // TESTCASE NUMBER: 32 fun case_32(x: Map?) { if (x != null) { - & kotlin.collections.Map?")!>x - & kotlin.collections.Map?")!>x.equals(null) - & kotlin.collections.Map?")!>x.propT - & kotlin.collections.Map?")!>x.propAny - & kotlin.collections.Map?")!>x.propNullableT - & kotlin.collections.Map?")!>x.propNullableAny - & kotlin.collections.Map?")!>x.funT() - & kotlin.collections.Map?")!>x.funAny() - & kotlin.collections.Map?")!>x.funNullableT() - & kotlin.collections.Map?")!>x.funNullableAny() - & kotlin.collections.Map?")!>x.isEmpty() + ? & kotlin.collections.Map")!>x + ? & kotlin.collections.Map")!>x.equals(null) + ? & kotlin.collections.Map")!>x.propT + ? & kotlin.collections.Map")!>x.propAny + ? & kotlin.collections.Map")!>x.propNullableT + ? & kotlin.collections.Map")!>x.propNullableAny + ? & kotlin.collections.Map")!>x.funT() + ? & kotlin.collections.Map")!>x.funAny() + ? & kotlin.collections.Map")!>x.funNullableT() + ? & kotlin.collections.Map")!>x.funNullableAny() + ? & kotlin.collections.Map")!>x.isEmpty() x.equals(null) @@ -2167,17 +2167,17 @@ fun case_32(x: Map?) { // TESTCASE NUMBER: 33 fun case_33(x: InterfaceWithFiveTypeParameters1?) { if (x != null) { - & InterfaceWithFiveTypeParameters1?")!>x - & InterfaceWithFiveTypeParameters1?")!>x.equals(null) - & InterfaceWithFiveTypeParameters1?")!>x.propT - & InterfaceWithFiveTypeParameters1?")!>x.propAny - & InterfaceWithFiveTypeParameters1?")!>x.propNullableT - & InterfaceWithFiveTypeParameters1?")!>x.propNullableAny - & InterfaceWithFiveTypeParameters1?")!>x.funT() - & InterfaceWithFiveTypeParameters1?")!>x.funAny() - & InterfaceWithFiveTypeParameters1?")!>x.funNullableT() - & InterfaceWithFiveTypeParameters1?")!>x.funNullableAny() - & InterfaceWithFiveTypeParameters1?")!>x.itest() + ? & InterfaceWithFiveTypeParameters1")!>x + ? & InterfaceWithFiveTypeParameters1")!>x.equals(null) + ? & InterfaceWithFiveTypeParameters1")!>x.propT + ? & InterfaceWithFiveTypeParameters1")!>x.propAny + ? & InterfaceWithFiveTypeParameters1")!>x.propNullableT + ? & InterfaceWithFiveTypeParameters1")!>x.propNullableAny + ? & InterfaceWithFiveTypeParameters1")!>x.funT() + ? & InterfaceWithFiveTypeParameters1")!>x.funAny() + ? & InterfaceWithFiveTypeParameters1")!>x.funNullableT() + ? & InterfaceWithFiveTypeParameters1")!>x.funNullableAny() + ? & InterfaceWithFiveTypeParameters1")!>x.itest() x.equals(null) @@ -2239,17 +2239,17 @@ fun case_33(x: InterfaceWithFiveTypeParameters1?) { // TESTCASE NUMBER: 34 fun case_34(x: InterfaceWithTypeParameter1?) { if (x != null) { - & InterfaceWithTypeParameter1?")!>x - & InterfaceWithTypeParameter1?")!>x.equals(null) - & InterfaceWithTypeParameter1?")!>x.propT - & InterfaceWithTypeParameter1?")!>x.propAny - & InterfaceWithTypeParameter1?")!>x.propNullableT - & InterfaceWithTypeParameter1?")!>x.propNullableAny - & InterfaceWithTypeParameter1?")!>x.funT() - & InterfaceWithTypeParameter1?")!>x.funAny() - & InterfaceWithTypeParameter1?")!>x.funNullableT() - & InterfaceWithTypeParameter1?")!>x.funNullableAny() - & InterfaceWithTypeParameter1?")!>x.ip1test1() + ? & InterfaceWithTypeParameter1")!>x + ? & InterfaceWithTypeParameter1")!>x.equals(null) + ? & InterfaceWithTypeParameter1")!>x.propT + ? & InterfaceWithTypeParameter1")!>x.propAny + ? & InterfaceWithTypeParameter1")!>x.propNullableT + ? & InterfaceWithTypeParameter1")!>x.propNullableAny + ? & InterfaceWithTypeParameter1")!>x.funT() + ? & InterfaceWithTypeParameter1")!>x.funAny() + ? & InterfaceWithTypeParameter1")!>x.funNullableT() + ? & InterfaceWithTypeParameter1")!>x.funNullableAny() + ? & InterfaceWithTypeParameter1")!>x.ip1test1() x.equals(null) @@ -2311,17 +2311,17 @@ fun case_34(x: InterfaceWithTypeParameter1?) { // TESTCASE NUMBER: 35 fun case_35(x: InterfaceWithTypeParameter1?) { if (x != null) { - & InterfaceWithTypeParameter1?")!>x - & InterfaceWithTypeParameter1?")!>x.equals(null) - & InterfaceWithTypeParameter1?")!>x.propT - & InterfaceWithTypeParameter1?")!>x.propAny - & InterfaceWithTypeParameter1?")!>x.propNullableT - & InterfaceWithTypeParameter1?")!>x.propNullableAny - & InterfaceWithTypeParameter1?")!>x.funT() - & InterfaceWithTypeParameter1?")!>x.funAny() - & InterfaceWithTypeParameter1?")!>x.funNullableT() - & InterfaceWithTypeParameter1?")!>x.funNullableAny() - & InterfaceWithTypeParameter1?")!>x.ip1test1() + ? & InterfaceWithTypeParameter1")!>x + ? & InterfaceWithTypeParameter1")!>x.equals(null) + ? & InterfaceWithTypeParameter1")!>x.propT + ? & InterfaceWithTypeParameter1")!>x.propAny + ? & InterfaceWithTypeParameter1")!>x.propNullableT + ? & InterfaceWithTypeParameter1")!>x.propNullableAny + ? & InterfaceWithTypeParameter1")!>x.funT() + ? & InterfaceWithTypeParameter1")!>x.funAny() + ? & InterfaceWithTypeParameter1")!>x.funNullableT() + ? & InterfaceWithTypeParameter1")!>x.funNullableAny() + ? & InterfaceWithTypeParameter1")!>x.ip1test1() x.equals(null) @@ -2383,17 +2383,17 @@ fun case_35(x: InterfaceWithTypeParameter1?) { // TESTCASE NUMBER: 36 fun case_36(x: InterfaceWithTypeParameter1?) { if (x != null) { - & InterfaceWithTypeParameter1?")!>x - & InterfaceWithTypeParameter1?")!>x.equals(null) - & InterfaceWithTypeParameter1?")!>x.propT - & InterfaceWithTypeParameter1?")!>x.propAny - & InterfaceWithTypeParameter1?")!>x.propNullableT - & InterfaceWithTypeParameter1?")!>x.propNullableAny - & InterfaceWithTypeParameter1?")!>x.funT() - & InterfaceWithTypeParameter1?")!>x.funAny() - & InterfaceWithTypeParameter1?")!>x.funNullableT() - & InterfaceWithTypeParameter1?")!>x.funNullableAny() - & InterfaceWithTypeParameter1?")!>x.ip1test1() + ? & InterfaceWithTypeParameter1")!>x + ? & InterfaceWithTypeParameter1")!>x.equals(null) + ? & InterfaceWithTypeParameter1")!>x.propT + ? & InterfaceWithTypeParameter1")!>x.propAny + ? & InterfaceWithTypeParameter1")!>x.propNullableT + ? & InterfaceWithTypeParameter1")!>x.propNullableAny + ? & InterfaceWithTypeParameter1")!>x.funT() + ? & InterfaceWithTypeParameter1")!>x.funAny() + ? & InterfaceWithTypeParameter1")!>x.funNullableT() + ? & InterfaceWithTypeParameter1")!>x.funNullableAny() + ? & InterfaceWithTypeParameter1")!>x.ip1test1() x.equals(null) @@ -2455,17 +2455,17 @@ fun case_36(x: InterfaceWithTypeParameter1?) { // TESTCASE NUMBER: 37 fun case_37(x: Map?) { if (x != null) { - & kotlin.collections.Map?")!>x - & kotlin.collections.Map?")!>x.equals(null) - & kotlin.collections.Map?")!>x.propT - & kotlin.collections.Map?")!>x.propAny - & kotlin.collections.Map?")!>x.propNullableT - & kotlin.collections.Map?")!>x.propNullableAny - & kotlin.collections.Map?")!>x.funT() - & kotlin.collections.Map?")!>x.funAny() - & kotlin.collections.Map?")!>x.funNullableT() - & kotlin.collections.Map?")!>x.funNullableAny() - & kotlin.collections.Map?")!>x.isEmpty() + ? & kotlin.collections.Map")!>x + ? & kotlin.collections.Map")!>x.equals(null) + ? & kotlin.collections.Map")!>x.propT + ? & kotlin.collections.Map")!>x.propAny + ? & kotlin.collections.Map")!>x.propNullableT + ? & kotlin.collections.Map")!>x.propNullableAny + ? & kotlin.collections.Map")!>x.funT() + ? & kotlin.collections.Map")!>x.funAny() + ? & kotlin.collections.Map")!>x.funNullableT() + ? & kotlin.collections.Map")!>x.funNullableAny() + ? & kotlin.collections.Map")!>x.isEmpty() x.equals(null) @@ -2527,17 +2527,17 @@ fun case_37(x: Map?) { // TESTCASE NUMBER: 38 fun case_38(x: Map<*, out T>?) { if (x != null) { - & kotlin.collections.Map<*, out T>?")!>x - & kotlin.collections.Map<*, out T>?")!>x.equals(null) - & kotlin.collections.Map<*, out T>?")!>x.propT - & kotlin.collections.Map<*, out T>?")!>x.propAny - & kotlin.collections.Map<*, out T>?")!>x.propNullableT - & kotlin.collections.Map<*, out T>?")!>x.propNullableAny - & kotlin.collections.Map<*, out T>?")!>x.funT() - & kotlin.collections.Map<*, out T>?")!>x.funAny() - & kotlin.collections.Map<*, out T>?")!>x.funNullableT() - & kotlin.collections.Map<*, out T>?")!>x.funNullableAny() - & kotlin.collections.Map<*, out T>?")!>x.isEmpty() + ? & kotlin.collections.Map<*, out T>")!>x + ? & kotlin.collections.Map<*, out T>")!>x.equals(null) + ? & kotlin.collections.Map<*, out T>")!>x.propT + ? & kotlin.collections.Map<*, out T>")!>x.propAny + ? & kotlin.collections.Map<*, out T>")!>x.propNullableT + ? & kotlin.collections.Map<*, out T>")!>x.propNullableAny + ? & kotlin.collections.Map<*, out T>")!>x.funT() + ? & kotlin.collections.Map<*, out T>")!>x.funAny() + ? & kotlin.collections.Map<*, out T>")!>x.funNullableT() + ? & kotlin.collections.Map<*, out T>")!>x.funNullableAny() + ? & kotlin.collections.Map<*, out T>")!>x.isEmpty() x.equals(null) @@ -2599,16 +2599,16 @@ fun case_38(x: Map<*, out T>?) { // TESTCASE NUMBER: 39 fun case_39(x: InterfaceWithTwoTypeParameters?) { if (x != null) { - & InterfaceWithTwoTypeParameters?")!>x - & InterfaceWithTwoTypeParameters?")!>x.equals(null) - & InterfaceWithTwoTypeParameters?")!>x.propT - & InterfaceWithTwoTypeParameters?")!>x.propAny - & InterfaceWithTwoTypeParameters?")!>x.propNullableT - & InterfaceWithTwoTypeParameters?")!>x.propNullableAny - & InterfaceWithTwoTypeParameters?")!>x.funT() - & InterfaceWithTwoTypeParameters?")!>x.funAny() - & InterfaceWithTwoTypeParameters?")!>x.funNullableT() - & InterfaceWithTwoTypeParameters?")!>x.funNullableAny() + ? & InterfaceWithTwoTypeParameters")!>x + ? & InterfaceWithTwoTypeParameters")!>x.equals(null) + ? & InterfaceWithTwoTypeParameters")!>x.propT + ? & InterfaceWithTwoTypeParameters")!>x.propAny + ? & InterfaceWithTwoTypeParameters")!>x.propNullableT + ? & InterfaceWithTwoTypeParameters")!>x.propNullableAny + ? & InterfaceWithTwoTypeParameters")!>x.funT() + ? & InterfaceWithTwoTypeParameters")!>x.funAny() + ? & InterfaceWithTwoTypeParameters")!>x.funNullableT() + ? & InterfaceWithTwoTypeParameters")!>x.funNullableAny() x.equals(null) @@ -2666,16 +2666,16 @@ fun case_39(x: InterfaceWithTwoTypeParameters?) { // TESTCASE NUMBER: 40 fun case_40(x: InterfaceWithTwoTypeParameters?) { if (x != null) { - & InterfaceWithTwoTypeParameters?")!>x - & InterfaceWithTwoTypeParameters?")!>x.equals(null) - & InterfaceWithTwoTypeParameters?")!>x.propT - & InterfaceWithTwoTypeParameters?")!>x.propAny - & InterfaceWithTwoTypeParameters?")!>x.propNullableT - & InterfaceWithTwoTypeParameters?")!>x.propNullableAny - & InterfaceWithTwoTypeParameters?")!>x.funT() - & InterfaceWithTwoTypeParameters?")!>x.funAny() - & InterfaceWithTwoTypeParameters?")!>x.funNullableT() - & InterfaceWithTwoTypeParameters?")!>x.funNullableAny() + ? & InterfaceWithTwoTypeParameters")!>x + ? & InterfaceWithTwoTypeParameters")!>x.equals(null) + ? & InterfaceWithTwoTypeParameters")!>x.propT + ? & InterfaceWithTwoTypeParameters")!>x.propAny + ? & InterfaceWithTwoTypeParameters")!>x.propNullableT + ? & InterfaceWithTwoTypeParameters")!>x.propNullableAny + ? & InterfaceWithTwoTypeParameters")!>x.funT() + ? & InterfaceWithTwoTypeParameters")!>x.funAny() + ? & InterfaceWithTwoTypeParameters")!>x.funNullableT() + ? & InterfaceWithTwoTypeParameters")!>x.funNullableAny() x.equals(null) @@ -2733,17 +2733,17 @@ fun case_40(x: InterfaceWithTwoTypeParameters?) { // TESTCASE NUMBER: 41 fun case_41(x: Map?) { if (x != null) { - & kotlin.collections.Map?")!>x - & kotlin.collections.Map?")!>x.equals(null) - & kotlin.collections.Map?")!>x.propT - & kotlin.collections.Map?")!>x.propAny - & kotlin.collections.Map?")!>x.propNullableT - & kotlin.collections.Map?")!>x.propNullableAny - & kotlin.collections.Map?")!>x.funT() - & kotlin.collections.Map?")!>x.funAny() - & kotlin.collections.Map?")!>x.funNullableT() - & kotlin.collections.Map?")!>x.funNullableAny() - & kotlin.collections.Map?")!>x.isEmpty() + ? & kotlin.collections.Map")!>x + ? & kotlin.collections.Map")!>x.equals(null) + ? & kotlin.collections.Map")!>x.propT + ? & kotlin.collections.Map")!>x.propAny + ? & kotlin.collections.Map")!>x.propNullableT + ? & kotlin.collections.Map")!>x.propNullableAny + ? & kotlin.collections.Map")!>x.funT() + ? & kotlin.collections.Map")!>x.funAny() + ? & kotlin.collections.Map")!>x.funNullableT() + ? & kotlin.collections.Map")!>x.funNullableAny() + ? & kotlin.collections.Map")!>x.isEmpty() x.equals(null) @@ -2805,17 +2805,17 @@ fun case_41(x: Map?) { // TESTCASE NUMBER: 42 fun case_42(x: Map?) { if (x != null) { - & kotlin.collections.Map?")!>x - & kotlin.collections.Map?")!>x.equals(null) - & kotlin.collections.Map?")!>x.propT - & kotlin.collections.Map?")!>x.propAny - & kotlin.collections.Map?")!>x.propNullableT - & kotlin.collections.Map?")!>x.propNullableAny - & kotlin.collections.Map?")!>x.funT() - & kotlin.collections.Map?")!>x.funAny() - & kotlin.collections.Map?")!>x.funNullableT() - & kotlin.collections.Map?")!>x.funNullableAny() - & kotlin.collections.Map?")!>x.isEmpty() + ? & kotlin.collections.Map")!>x + ? & kotlin.collections.Map")!>x.equals(null) + ? & kotlin.collections.Map")!>x.propT + ? & kotlin.collections.Map")!>x.propAny + ? & kotlin.collections.Map")!>x.propNullableT + ? & kotlin.collections.Map")!>x.propNullableAny + ? & kotlin.collections.Map")!>x.funT() + ? & kotlin.collections.Map")!>x.funAny() + ? & kotlin.collections.Map")!>x.funNullableT() + ? & kotlin.collections.Map")!>x.funNullableAny() + ? & kotlin.collections.Map")!>x.isEmpty() x.equals(null) @@ -2877,17 +2877,17 @@ fun case_42(x: Map?) { // TESTCASE NUMBER: 43 fun case_43(x: Map?) { if (x != null) { - & kotlin.collections.Map?")!>x - & kotlin.collections.Map?")!>x.equals(null) - & kotlin.collections.Map?")!>x.propT - & kotlin.collections.Map?")!>x.propAny - & kotlin.collections.Map?")!>x.propNullableT - & kotlin.collections.Map?")!>x.propNullableAny - & kotlin.collections.Map?")!>x.funT() - & kotlin.collections.Map?")!>x.funAny() - & kotlin.collections.Map?")!>x.funNullableT() - & kotlin.collections.Map?")!>x.funNullableAny() - & kotlin.collections.Map?")!>x.isEmpty() + ? & kotlin.collections.Map")!>x + ? & kotlin.collections.Map")!>x.equals(null) + ? & kotlin.collections.Map")!>x.propT + ? & kotlin.collections.Map")!>x.propAny + ? & kotlin.collections.Map")!>x.propNullableT + ? & kotlin.collections.Map")!>x.propNullableAny + ? & kotlin.collections.Map")!>x.funT() + ? & kotlin.collections.Map")!>x.funAny() + ? & kotlin.collections.Map")!>x.funNullableT() + ? & kotlin.collections.Map")!>x.funNullableAny() + ? & kotlin.collections.Map")!>x.isEmpty() x.equals(null) @@ -2949,17 +2949,17 @@ fun case_43(x: Map?) { // TESTCASE NUMBER: 44 fun case_44(x: InterfaceWithFiveTypeParameters1?) { if (x != null) { - & InterfaceWithFiveTypeParameters1?")!>x - & InterfaceWithFiveTypeParameters1?")!>x.equals(null) - & InterfaceWithFiveTypeParameters1?")!>x.propT - & InterfaceWithFiveTypeParameters1?")!>x.propAny - & InterfaceWithFiveTypeParameters1?")!>x.propNullableT - & InterfaceWithFiveTypeParameters1?")!>x.propNullableAny - & InterfaceWithFiveTypeParameters1?")!>x.funT() - & InterfaceWithFiveTypeParameters1?")!>x.funAny() - & InterfaceWithFiveTypeParameters1?")!>x.funNullableT() - & InterfaceWithFiveTypeParameters1?")!>x.funNullableAny() - & InterfaceWithFiveTypeParameters1?")!>x.itest() + ? & InterfaceWithFiveTypeParameters1")!>x + ? & InterfaceWithFiveTypeParameters1")!>x.equals(null) + ? & InterfaceWithFiveTypeParameters1")!>x.propT + ? & InterfaceWithFiveTypeParameters1")!>x.propAny + ? & InterfaceWithFiveTypeParameters1")!>x.propNullableT + ? & InterfaceWithFiveTypeParameters1")!>x.propNullableAny + ? & InterfaceWithFiveTypeParameters1")!>x.funT() + ? & InterfaceWithFiveTypeParameters1")!>x.funAny() + ? & InterfaceWithFiveTypeParameters1")!>x.funNullableT() + ? & InterfaceWithFiveTypeParameters1")!>x.funNullableAny() + ? & InterfaceWithFiveTypeParameters1")!>x.itest() x.equals(null) @@ -3021,18 +3021,18 @@ fun case_44(x: InterfaceWithFiveTypeParameters1?) { // TESTCASE NUMBER: 45 fun case_45(x: T) where T : Number?, T: Comparable? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.toByte() - x.compareTo(x) + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.toByte() + x.compareTo(x) x.equals(null) @@ -3098,19 +3098,19 @@ fun case_45(x: T) where T : Number?, T: Comparable? { // TESTCASE NUMBER: 46 fun case_46(x: T) where T : CharSequence?, T: Comparable?, T: Iterable<*>? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.compareTo(x) - x.get(0) - x.iterator() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.compareTo(x) + x.get(0) + x.iterator() x.equals(null) @@ -3183,18 +3183,18 @@ fun case_46(x: T) where T : CharSequence?, T: Comparable?, T: Iterable<*> */ fun case_47(x: T?) where T : Inv, T: Comparable<*>?, T: InterfaceWithTypeParameter1? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test() + x.ip1test1() x.equals(null) @@ -3255,7 +3255,7 @@ fun case_47(x: T?) where T : Inv, T: Comparable<*>?, T: InterfaceWithType it.ip1test1() } - x.compareTo(return) + x.compareTo(return) x.compareTo(return) x.apply { @@ -3275,18 +3275,18 @@ fun case_47(x: T?) where T : Inv, T: Comparable<*>?, T: InterfaceWithType */ fun case_48(x: T?) where T : Inv, T: InterfaceWithTypeParameter1? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test() + x.ip1test1() x.equals(null) @@ -3355,18 +3355,18 @@ fun case_48(x: T?) where T : Inv, T: InterfaceWithTypeParameter1 case_49(x: T?) where T : Inv, T: InterfaceWithTypeParameter1? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test() + x.ip1test1() x.equals(null) @@ -3435,18 +3435,18 @@ fun case_49(x: T?) where T : Inv, T: InterfaceWithTypeParameter1 */ fun case_50(x: T?) where T : Inv, T: InterfaceWithTypeParameter1? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test() + x.ip1test1() x.equals(null) @@ -3515,18 +3515,18 @@ fun case_50(x: T?) where T : Inv, T: InterfaceWithTypeParameter1 case_51(x: T?) where T : Inv, T: InterfaceWithTypeParameter1? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test() + x.ip1test1() x.equals(null) @@ -3592,18 +3592,18 @@ fun case_51(x: T?) where T : Inv, T: InterfaceWithTypeParameter1? // TESTCASE NUMBER: 52 fun case_52(x: T?) where T : Inv, T: InterfaceWithTypeParameter1? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test() + x.ip1test1() x.equals(null) @@ -3672,18 +3672,18 @@ fun case_52(x: T?) where T : Inv, T: InterfaceWithTypeParameter1? { */ fun case_53(x: T?) where T : Inv, T: InterfaceWithTypeParameter1<*>? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test() + x.ip1test1() x.equals(null) @@ -3752,18 +3752,18 @@ fun case_53(x: T?) where T : Inv, T: InterfaceWithTypeParameter1<*>? { */ fun case_54(x: T?) where T : Inv<*>, T: InterfaceWithTypeParameter1? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test() + x.ip1test1() x.equals(null) @@ -3829,18 +3829,18 @@ fun case_54(x: T?) where T : Inv<*>, T: InterfaceWithTypeParameter1? // TESTCASE NUMBER: 55 fun case_55(x: T?) where T : Inv<*>, T: InterfaceWithTypeParameter1? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test() + x.ip1test1() x.equals(null) @@ -3906,18 +3906,18 @@ fun case_55(x: T?) where T : Inv<*>, T: InterfaceWithTypeParameter1? { // TESTCASE NUMBER: 56 fun case_56(x: T) where T : Number?, T: Interface1? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.itest() - x.toByte() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.itest() + x.toByte() x.equals(null) @@ -4064,17 +4064,17 @@ fun case_57(x: T) where T : Out<*>?, T: Comparable { // TESTCASE NUMBER: 58 fun >>>>>>>>>?> case_59(x: T) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.ip1test1() x.equals(null) @@ -4139,19 +4139,19 @@ fun case_59(x: T) where T: InterfaceWithFiveTypeParameters1?, T: InterfaceWithFiveTypeParameters2?, T: InterfaceWithFiveTypeParameters3? { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.itest1() - x.itest2() - x.itest3() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.itest1() + x.itest2() + x.itest3() x.equals(null) @@ -4224,17 +4224,17 @@ fun case_59(x: T) where T: InterfaceWithFiveTypeParameters1?> case_60(x: T) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.ip1test1() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.ip1test1() x.equals(null) @@ -4305,10 +4305,10 @@ class Case61_3: InterfaceWithTypeParameter1, Case61_1, Case61_2 { fun T.case_61(x: T) where T : InterfaceWithTypeParameter1?, T: Case61_3?, T: Case61_1?, T: Case61_2? { if (x != null) { - x.ip1test1() - x.test2() - x.ip1test1() - x.test4() + x.ip1test1() + x.test2() + x.ip1test1() + x.test4() x.ip1test1() x.test2() @@ -4341,8 +4341,8 @@ fun T.case_61(x: T) where T : InterfaceWithTypeParameter1?, T: Case61_3 case_62(x: T) { if (x != null) { - x - x.hashCode() + x + x.hashCode() x.hashCode() x.apply { diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/14.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/14.fir.kt index da8354f4c68..30b8dec3d50 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/14.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/14.fir.kt @@ -14,15 +14,15 @@ fun case_1(vararg x: Int?) { fun case_2(vararg x: Int?) { x[0].apply { if (this != null) { - this - this.inv() + this + this.inv() } } x[0].also { if (it != null) { - it - it.inv() + it + it.inv() } } } @@ -39,15 +39,15 @@ fun case_3(vararg x: T?) { fun case_4(vararg x: T?) { x[0].apply { if (this != null) { - this - this.toByte() + this + this.toByte() } } x[0].also { if (it != null) { - it - it.toByte() + it + it.toByte() } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/15.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/15.fir.kt index 86675992589..6c011ad70cc 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/15.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/15.fir.kt @@ -10,19 +10,19 @@ fun case_1() { val a = select(Case1_1(), Case1_2(), null) if (a != null) { - & InterfaceWithTypeParameter1<*>?")!>a - val b = & InterfaceWithTypeParameter1<*>?")!>a.ip1test1() + ? & InterfaceWithTypeParameter1<*>")!>a + val b = ? & InterfaceWithTypeParameter1<*>")!>a.ip1test1() if (b != null) { - b - b.equals(null) - b.propT - b.propAny - b.propNullableT - b.propNullableAny - b.funT() - b.funAny() - b.funNullableT() - b.funNullableAny() + b + b.equals(null) + b.propT + b.propAny + b.propNullableT + b.propNullableAny + b.funT() + b.funAny() + b.funNullableT() + b.funNullableAny() } } } @@ -35,8 +35,8 @@ fun case_2() { val x = select(Case2_1(), Case2_2(), null) if (x != null) { - & Interface3? & InterfaceWithTypeParameter1<*>?")!>x - & Interface3? & InterfaceWithTypeParameter1<*>?")!>x.ip1test1() + ? & Interface3 & InterfaceWithTypeParameter1<*>")!>x + ? & Interface3 & InterfaceWithTypeParameter1<*>")!>x.ip1test1() } } @@ -48,9 +48,9 @@ fun case_3() { val x = select(Case3_1(), Case3_2(), null) if (x != null) { - & InterfaceWithTypeParameter2<*> & Interface3? & InterfaceWithTypeParameter1<*>? & InterfaceWithTypeParameter2<*>?")!>x - & InterfaceWithTypeParameter2<*> & Interface3? & InterfaceWithTypeParameter1<*>? & InterfaceWithTypeParameter2<*>?")!>x.ip1test1() - & InterfaceWithTypeParameter2<*> & Interface3? & InterfaceWithTypeParameter1<*>? & InterfaceWithTypeParameter2<*>?")!>x.ip1test2() + ? & InterfaceWithTypeParameter2<*>? & Interface3 & InterfaceWithTypeParameter1<*> & InterfaceWithTypeParameter2<*>")!>x + ? & InterfaceWithTypeParameter2<*>? & Interface3 & InterfaceWithTypeParameter1<*> & InterfaceWithTypeParameter2<*>")!>x.ip1test1() + ? & InterfaceWithTypeParameter2<*>? & Interface3 & InterfaceWithTypeParameter1<*> & InterfaceWithTypeParameter2<*>")!>x.ip1test2() } } @@ -62,9 +62,9 @@ fun case_4() { val x = select(Case4_1(), Case4_2(), null) if (x != null) { - & InterfaceWithTypeParameter2<*> & InterfaceWithTypeParameter1<*>? & InterfaceWithTypeParameter2<*>?")!>x - & InterfaceWithTypeParameter2<*> & InterfaceWithTypeParameter1<*>? & InterfaceWithTypeParameter2<*>?")!>x.ip1test1() - & InterfaceWithTypeParameter2<*> & InterfaceWithTypeParameter1<*>? & InterfaceWithTypeParameter2<*>?")!>x.ip1test2() + ? & InterfaceWithTypeParameter2<*>? & InterfaceWithTypeParameter1<*> & InterfaceWithTypeParameter2<*>")!>x + ? & InterfaceWithTypeParameter2<*>? & InterfaceWithTypeParameter1<*> & InterfaceWithTypeParameter2<*>")!>x.ip1test1() + ? & InterfaceWithTypeParameter2<*>? & InterfaceWithTypeParameter1<*> & InterfaceWithTypeParameter2<*>")!>x.ip1test2() } } @@ -76,9 +76,9 @@ fun case_5() { val x = select(Case5_1(), Case5_2(), null) if (x != null) { - > & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter1>? & InterfaceWithTypeParameter2>?")!>x - > & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter1>? & InterfaceWithTypeParameter2>?")!>x.ip1test1() - > & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter1>? & InterfaceWithTypeParameter2>?")!>x.ip1test2() + >? & InterfaceWithTypeParameter2>? & InterfaceWithTypeParameter1> & InterfaceWithTypeParameter2>")!>x + >? & InterfaceWithTypeParameter2>? & InterfaceWithTypeParameter1> & InterfaceWithTypeParameter2>")!>x.ip1test1() + >? & InterfaceWithTypeParameter2>? & InterfaceWithTypeParameter1> & InterfaceWithTypeParameter2>")!>x.ip1test2() } } @@ -90,9 +90,9 @@ fun case_6() { val x = select(Case6_1(), Case6_2(), null) if (x != null) { - >> & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>> & InterfaceWithTypeParameter1>>? & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>>?")!>x - >> & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>> & InterfaceWithTypeParameter1>>? & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>>?")!>x.ip1test1() - >> & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>> & InterfaceWithTypeParameter1>>? & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>>?")!>x.ip1test2() + >>? & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>>? & InterfaceWithTypeParameter1>> & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>>")!>x + >>? & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>>? & InterfaceWithTypeParameter1>> & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>>")!>x.ip1test1() + >>? & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>>? & InterfaceWithTypeParameter1>> & InterfaceWithTypeParameter2> & InterfaceWithTypeParameter2<*>>>")!>x.ip1test2() } } @@ -104,8 +104,8 @@ fun case_7() { val x = select(Case7_1(), Case7_2(), null) if (x != null) { - & java.io.Serializable>, out Inv & java.io.Serializable>> & InterfaceWithTwoTypeParameters & java.io.Serializable>, out Inv & java.io.Serializable>>?")!>x - & java.io.Serializable>, out Inv & java.io.Serializable>> & InterfaceWithTwoTypeParameters & java.io.Serializable>, out Inv & java.io.Serializable>>?")!>x.ip2test() + & java.io.Serializable>, out Inv & java.io.Serializable>>? & InterfaceWithTwoTypeParameters & java.io.Serializable>, out Inv & java.io.Serializable>>")!>x + & java.io.Serializable>, out Inv & java.io.Serializable>>? & InterfaceWithTwoTypeParameters & java.io.Serializable>, out Inv & java.io.Serializable>>")!>x.ip2test() } } @@ -117,24 +117,24 @@ fun case_8() { val x = select(Case8_1(), Case8_2(), null) if (x != null) { - & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable> & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable>?")!>x - & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable> & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable>?")!>x.test1() - val y = & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable> & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable>?")!>x.test2() + & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable>? & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable>")!>x + & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable>? & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable>")!>x.test1() + val y = & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable>? & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>, out kotlin.Comparable<*> & java.io.Serializable>")!>x.test2() if (y != null) { - & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable> & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>?")!>y - & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable> & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>?")!>y.test1() - val z = & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable> & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>?")!>y.test2() + & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>? & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>")!>y + & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>? & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>")!>y.test1() + val z = & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>? & ClassWithTwoTypeParameters & java.io.Serializable, out kotlin.Comparable<*> & java.io.Serializable>")!>y.test2() if (z != null) { - & java.io.Serializable & kotlin.Comparable<*>? & java.io.Serializable?")!>z - & java.io.Serializable & kotlin.Comparable<*>? & java.io.Serializable?")!>z.equals(null) - & java.io.Serializable & kotlin.Comparable<*>? & java.io.Serializable?")!>z.propT - & java.io.Serializable & kotlin.Comparable<*>? & java.io.Serializable?")!>z.propAny - & java.io.Serializable & kotlin.Comparable<*>? & java.io.Serializable?")!>z.propNullableT - & java.io.Serializable & kotlin.Comparable<*>? & java.io.Serializable?")!>z.propNullableAny - & java.io.Serializable & kotlin.Comparable<*>? & java.io.Serializable?")!>z.funT() - & java.io.Serializable & kotlin.Comparable<*>? & java.io.Serializable?")!>z.funAny() - & java.io.Serializable & kotlin.Comparable<*>? & java.io.Serializable?")!>z.funNullableT() - & java.io.Serializable & kotlin.Comparable<*>? & java.io.Serializable?")!>z.funNullableAny() + ? & java.io.Serializable? & kotlin.Comparable<*> & java.io.Serializable")!>z + ? & java.io.Serializable? & kotlin.Comparable<*> & java.io.Serializable")!>z.equals(null) + ? & java.io.Serializable? & kotlin.Comparable<*> & java.io.Serializable")!>z.propT + ? & java.io.Serializable? & kotlin.Comparable<*> & java.io.Serializable")!>z.propAny + ? & java.io.Serializable? & kotlin.Comparable<*> & java.io.Serializable")!>z.propNullableT + ? & java.io.Serializable? & kotlin.Comparable<*> & java.io.Serializable")!>z.propNullableAny + ? & java.io.Serializable? & kotlin.Comparable<*> & java.io.Serializable")!>z.funT() + ? & java.io.Serializable? & kotlin.Comparable<*> & java.io.Serializable")!>z.funAny() + ? & java.io.Serializable? & kotlin.Comparable<*> & java.io.Serializable")!>z.funNullableT() + ? & java.io.Serializable? & kotlin.Comparable<*> & java.io.Serializable")!>z.funNullableAny() } } } @@ -148,21 +148,21 @@ fun case_9() { val x = select(Case9_1(), Case9_2(), null) if (x != null) { - & ClassWithTwoTypeParameters<*, *>?")!>x - & ClassWithTwoTypeParameters<*, *>?")!>x.test1() + ? & ClassWithTwoTypeParameters<*, *>")!>x + ? & ClassWithTwoTypeParameters<*, *>")!>x.test1() val y = x.test2() if (y != null) { - y - y - y.equals(null) - y.propT - y.propAny - y.propNullableT - y.propNullableAny - y.funT() - y.funAny() - y.funNullableT() - y.funNullableAny() + y + y + y.equals(null) + y.propT + y.propAny + y.propNullableT + y.propNullableAny + y.funT() + y.funAny() + y.funNullableT() + y.funNullableAny() } } } @@ -175,15 +175,15 @@ fun case_10() = run { val x = select(object : Case10_1() {}, object : Case10_2() {}, null) if (x != null) { - > & Interface3? & InterfaceWithOutParameter>?")!>x - > & Interface3? & InterfaceWithOutParameter>?")!>x.equals(null) - > & Interface3? & InterfaceWithOutParameter>?")!>x.propT - > & Interface3? & InterfaceWithOutParameter>?")!>x.propAny - > & Interface3? & InterfaceWithOutParameter>?")!>x.propNullableT - > & Interface3? & InterfaceWithOutParameter>?")!>x.propNullableAny - > & Interface3? & InterfaceWithOutParameter>?")!>x.funT() - > & Interface3? & InterfaceWithOutParameter>?")!>x.funAny() - > & Interface3? & InterfaceWithOutParameter>?")!>x.funNullableT() - > & Interface3? & InterfaceWithOutParameter>?")!>x.funNullableAny() + >? & Interface3 & InterfaceWithOutParameter>")!>x + >? & Interface3 & InterfaceWithOutParameter>")!>x.equals(null) + >? & Interface3 & InterfaceWithOutParameter>")!>x.propT + >? & Interface3 & InterfaceWithOutParameter>")!>x.propAny + >? & Interface3 & InterfaceWithOutParameter>")!>x.propNullableT + >? & Interface3 & InterfaceWithOutParameter>")!>x.propNullableAny + >? & Interface3 & InterfaceWithOutParameter>")!>x.funT() + >? & Interface3 & InterfaceWithOutParameter>")!>x.funAny() + >? & Interface3 & InterfaceWithOutParameter>")!>x.funNullableT() + >? & Interface3 & InterfaceWithOutParameter>")!>x.funNullableAny() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/16.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/16.fir.kt index 09d9d05c8b6..22df4206a0d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/16.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/16.fir.kt @@ -5,45 +5,45 @@ // TESTCASE NUMBER: 1 fun case_1(x: Int?) { if (x == null) return - x - x.inv() + x + x.inv() } // TESTCASE NUMBER: 2 fun case_2(x: Unit?) { if (x === null) return - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 3 fun case_3(x: Nothing?) { if (x != null) else return - x - x.hashCode() + x + x.hashCode() } // TESTCASE NUMBER: 4 fun case_4(x: Number?) { if (x !== null) else { return } - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 5 @@ -116,76 +116,76 @@ fun case_9(x: String?) { // TESTCASE NUMBER: 10 fun case_10(x: Float?) { if (true && true && true && x !== null) else return - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 11 fun case_11(x: Out<*>?) { if (x == null) return - & Out<*>?")!>x - & Out<*>?")!>x.equals(null) - & Out<*>?")!>x.propT - & Out<*>?")!>x.propAny - & Out<*>?")!>x.propNullableT - & Out<*>?")!>x.propNullableAny - & Out<*>?")!>x.funT() - & Out<*>?")!>x.funAny() - & Out<*>?")!>x.funNullableT() - & Out<*>?")!>x.funNullableAny() + ? & Out<*>")!>x + ? & Out<*>")!>x.equals(null) + ? & Out<*>")!>x.propT + ? & Out<*>")!>x.propAny + ? & Out<*>")!>x.propNullableT + ? & Out<*>")!>x.propNullableAny + ? & Out<*>")!>x.funT() + ? & Out<*>")!>x.funAny() + ? & Out<*>")!>x.funNullableT() + ? & Out<*>")!>x.funNullableAny() } // TESTCASE NUMBER: 12 fun case_12(x: Map?) { if (x === null) return - & kotlin.collections.Map?")!>x - & kotlin.collections.Map?")!>x.equals(null) - & kotlin.collections.Map?")!>x.propT - & kotlin.collections.Map?")!>x.propAny - & kotlin.collections.Map?")!>x.propNullableT - & kotlin.collections.Map?")!>x.propNullableAny - & kotlin.collections.Map?")!>x.funT() - & kotlin.collections.Map?")!>x.funAny() - & kotlin.collections.Map?")!>x.funNullableT() - & kotlin.collections.Map?")!>x.funNullableAny() + ? & kotlin.collections.Map")!>x + ? & kotlin.collections.Map")!>x.equals(null) + ? & kotlin.collections.Map")!>x.propT + ? & kotlin.collections.Map")!>x.propAny + ? & kotlin.collections.Map")!>x.propNullableT + ? & kotlin.collections.Map")!>x.propNullableAny + ? & kotlin.collections.Map")!>x.funT() + ? & kotlin.collections.Map")!>x.funAny() + ? & kotlin.collections.Map")!>x.funNullableT() + ? & kotlin.collections.Map")!>x.funNullableAny() } // TESTCASE NUMBER: 13 fun case_13(x: Map?) { if (x != null) else return - & kotlin.collections.Map?")!>x - & kotlin.collections.Map?")!>x.equals(null) - & kotlin.collections.Map?")!>x.propT - & kotlin.collections.Map?")!>x.propAny - & kotlin.collections.Map?")!>x.propNullableT - & kotlin.collections.Map?")!>x.propNullableAny - & kotlin.collections.Map?")!>x.funT() - & kotlin.collections.Map?")!>x.funAny() - & kotlin.collections.Map?")!>x.funNullableT() - & kotlin.collections.Map?")!>x.funNullableAny() + ? & kotlin.collections.Map")!>x + ? & kotlin.collections.Map")!>x.equals(null) + ? & kotlin.collections.Map")!>x.propT + ? & kotlin.collections.Map")!>x.propAny + ? & kotlin.collections.Map")!>x.propNullableT + ? & kotlin.collections.Map")!>x.propNullableAny + ? & kotlin.collections.Map")!>x.funT() + ? & kotlin.collections.Map")!>x.funAny() + ? & kotlin.collections.Map")!>x.funNullableT() + ? & kotlin.collections.Map")!>x.funNullableAny() } // TESTCASE NUMBER: 14 fun case_14(x: MutableCollection?) { if (x !== null) else { return } - & kotlin.collections.MutableCollection?")!>x - & kotlin.collections.MutableCollection?")!>x.equals(null) - & kotlin.collections.MutableCollection?")!>x.propT - & kotlin.collections.MutableCollection?")!>x.propAny - & kotlin.collections.MutableCollection?")!>x.propNullableT - & kotlin.collections.MutableCollection?")!>x.propNullableAny - & kotlin.collections.MutableCollection?")!>x.funT() - & kotlin.collections.MutableCollection?")!>x.funAny() - & kotlin.collections.MutableCollection?")!>x.funNullableT() - & kotlin.collections.MutableCollection?")!>x.funNullableAny() + ? & kotlin.collections.MutableCollection")!>x + ? & kotlin.collections.MutableCollection")!>x.equals(null) + ? & kotlin.collections.MutableCollection")!>x.propT + ? & kotlin.collections.MutableCollection")!>x.propAny + ? & kotlin.collections.MutableCollection")!>x.propNullableT + ? & kotlin.collections.MutableCollection")!>x.propNullableAny + ? & kotlin.collections.MutableCollection")!>x.funT() + ? & kotlin.collections.MutableCollection")!>x.funAny() + ? & kotlin.collections.MutableCollection")!>x.funNullableT() + ? & kotlin.collections.MutableCollection")!>x.funNullableAny() } // TESTCASE NUMBER: 15 @@ -258,61 +258,61 @@ fun case_19(x: Inv>>>>>>?) { // TESTCASE NUMBER: 20 fun case_20(x: Inv>>>>>>?) { if (true && true && true && x !== null) else return - >>>>>> & Inv>>>>>>?")!>x - >>>>>> & Inv>>>>>>?")!>x.equals(null) - >>>>>> & Inv>>>>>>?")!>x.propT - >>>>>> & Inv>>>>>>?")!>x.propAny - >>>>>> & Inv>>>>>>?")!>x.propNullableT - >>>>>> & Inv>>>>>>?")!>x.propNullableAny - >>>>>> & Inv>>>>>>?")!>x.funT() - >>>>>> & Inv>>>>>>?")!>x.funAny() - >>>>>> & Inv>>>>>>?")!>x.funNullableT() - >>>>>> & Inv>>>>>>?")!>x.funNullableAny() + >>>>>>? & Inv>>>>>>")!>x + >>>>>>? & Inv>>>>>>")!>x.equals(null) + >>>>>>? & Inv>>>>>>")!>x.propT + >>>>>>? & Inv>>>>>>")!>x.propAny + >>>>>>? & Inv>>>>>>")!>x.propNullableT + >>>>>>? & Inv>>>>>>")!>x.propNullableAny + >>>>>>? & Inv>>>>>>")!>x.funT() + >>>>>>? & Inv>>>>>>")!>x.funAny() + >>>>>>? & Inv>>>>>>")!>x.funNullableT() + >>>>>>? & Inv>>>>>>")!>x.funNullableAny() } // TESTCASE NUMBER: 21 fun case_21(x: T) { if (x == null) return - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 22 fun case_22(x: T?) { if (x === null) return - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 23 fun case_23(x: Inv?) { if (x !== null) else return - & Inv?")!>x - & Inv?")!>x.equals(null) - & Inv?")!>x.propT - & Inv?")!>x.propAny - & Inv?")!>x.propNullableT - & Inv?")!>x.propNullableAny - & Inv?")!>x.funT() - & Inv?")!>x.funAny() - & Inv?")!>x.funNullableT() - & Inv?")!>x.funNullableAny() + ? & Inv")!>x + ? & Inv")!>x.equals(null) + ? & Inv")!>x.propT + ? & Inv")!>x.propAny + ? & Inv")!>x.propNullableT + ? & Inv")!>x.propNullableAny + ? & Inv")!>x.funT() + ? & Inv")!>x.funAny() + ? & Inv")!>x.funNullableT() + ? & Inv")!>x.funNullableAny() } // TESTCASE NUMBER: 24 @@ -334,8 +334,8 @@ fun case_24(x: Inv?, y: Nothing?) { fun case_25(x: Int?) { val x = (l@ { if (x == null) return@l - x - x.inv() + x + x.inv() })() } @@ -343,40 +343,40 @@ fun case_25(x: Int?) { fun case_26(x: Unit?, y: List<*>) { y.forEach l@ { if (x === null) return@l - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } // TESTCASE NUMBER: 27 fun case_27(x: Nothing?) = (l@ { if (x != null) else return@l - x - x.hashCode() + x + x.hashCode() })() // TESTCASE NUMBER: 28 fun case_28(x: Number?) { {(l@ { if (x !== null) else { return@l } - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() })()}() } @@ -467,28 +467,28 @@ fun case_33(x: Any?) { fun case_34(x: Float?) { (l@ { if (true && true && true && x !== null) else return@l - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() }).equals(l@ { if (true && true && true && x !== null) else return@l - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() }) } @@ -496,16 +496,16 @@ fun case_34(x: Float?) { fun case_35(x: Any?) { case_35 l@ { if (x == null) return@l - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -513,32 +513,32 @@ fun case_35(x: Any?) { fun case_36(x: Any?) { case_36 l@ { if (x === null) return@l - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } // TESTCASE NUMBER: 37 fun case_37(x: Any?): Any? = case_37 l@ { if (x === null) return@l - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 38 @@ -548,16 +548,16 @@ fun case_39(x: MutableCollection?) { if (x !== null) else { return@l2 } - & kotlin.collections.MutableCollection?")!>x - & kotlin.collections.MutableCollection?")!>x.equals(null) - & kotlin.collections.MutableCollection?")!>x.propT - & kotlin.collections.MutableCollection?")!>x.propAny - & kotlin.collections.MutableCollection?")!>x.propNullableT - & kotlin.collections.MutableCollection?")!>x.propNullableAny - & kotlin.collections.MutableCollection?")!>x.funT() - & kotlin.collections.MutableCollection?")!>x.funAny() - & kotlin.collections.MutableCollection?")!>x.funNullableT() - & kotlin.collections.MutableCollection?")!>x.funNullableAny() + ? & kotlin.collections.MutableCollection")!>x + ? & kotlin.collections.MutableCollection")!>x.equals(null) + ? & kotlin.collections.MutableCollection")!>x.propT + ? & kotlin.collections.MutableCollection")!>x.propAny + ? & kotlin.collections.MutableCollection")!>x.propNullableT + ? & kotlin.collections.MutableCollection")!>x.propNullableAny + ? & kotlin.collections.MutableCollection")!>x.funT() + ? & kotlin.collections.MutableCollection")!>x.funAny() + ? & kotlin.collections.MutableCollection")!>x.funNullableT() + ? & kotlin.collections.MutableCollection")!>x.funNullableAny() })() })() } @@ -643,16 +643,16 @@ fun case_43(x: Inv>>>>>>?): An fun case_44(x: Inv>>>>>>?) { (l@ { if (true && true && true && x !== null) else return@l - >>>>>> & Inv>>>>>>?")!>x - >>>>>> & Inv>>>>>>?")!>x.equals(null) - >>>>>> & Inv>>>>>>?")!>x.propT - >>>>>> & Inv>>>>>>?")!>x.propAny - >>>>>> & Inv>>>>>>?")!>x.propNullableT - >>>>>> & Inv>>>>>>?")!>x.propNullableAny - >>>>>> & Inv>>>>>>?")!>x.funT() - >>>>>> & Inv>>>>>>?")!>x.funAny() - >>>>>> & Inv>>>>>>?")!>x.funNullableT() - >>>>>> & Inv>>>>>>?")!>x.funNullableAny() + >>>>>>? & Inv>>>>>>")!>x + >>>>>>? & Inv>>>>>>")!>x.equals(null) + >>>>>>? & Inv>>>>>>")!>x.propT + >>>>>>? & Inv>>>>>>")!>x.propAny + >>>>>>? & Inv>>>>>>")!>x.propNullableT + >>>>>>? & Inv>>>>>>")!>x.propNullableAny + >>>>>>? & Inv>>>>>>")!>x.funT() + >>>>>>? & Inv>>>>>>")!>x.funAny() + >>>>>>? & Inv>>>>>>")!>x.funNullableT() + >>>>>>? & Inv>>>>>>")!>x.funNullableAny() }).invoke() } @@ -660,16 +660,16 @@ fun case_44(x: Inv>> fun case_45(x: T) { val y = (l@ { if (x == null) return@l - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() })() } @@ -677,16 +677,16 @@ fun case_45(x: T) { fun case_46(x: T?) { (l@ { if (x === null) return@l - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() })() } @@ -694,16 +694,16 @@ fun case_46(x: T?) { fun case_47(x: Inv?) { val y = l@ { if (x !== null) else return@l - & Inv?")!>x - & Inv?")!>x.equals(null) - & Inv?")!>x.propT - & Inv?")!>x.propAny - & Inv?")!>x.propNullableT - & Inv?")!>x.propNullableAny - & Inv?")!>x.funT() - & Inv?")!>x.funAny() - & Inv?")!>x.funNullableT() - & Inv?")!>x.funNullableAny() + ? & Inv")!>x + ? & Inv")!>x.equals(null) + ? & Inv")!>x.propT + ? & Inv")!>x.propAny + ? & Inv")!>x.propNullableT + ? & Inv")!>x.propNullableAny + ? & Inv")!>x.funT() + ? & Inv")!>x.funAny() + ? & Inv")!>x.funNullableT() + ? & Inv")!>x.funNullableAny() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/17.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/17.fir.kt index 51074a4fb91..c95a4d6dad6 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/17.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/17.fir.kt @@ -5,44 +5,44 @@ // TESTCASE NUMBER: 1 fun case_1(x: Int?) { if (x == null) throw Exception() - x - x.inv() + x + x.inv() } // TESTCASE NUMBER: 2 fun case_2(x: Unit?) { if (x === null) throw Exception() - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 3 fun case_3(x: Nothing?) { if (x != null) else throw Exception() - x + x } // TESTCASE NUMBER: 4 fun case_4(x: Number?) { if (x !== null) else { throw Exception() } - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 5 @@ -115,76 +115,76 @@ fun case_9(x: String?) { // TESTCASE NUMBER: 10 fun case_10(x: Float?) { if (true && true && true && x !== null) else throw Exception() - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 11 fun case_11(x: Out<*>?) { if (x == null) throw Exception() - & Out<*>?")!>x - & Out<*>?")!>x.equals(null) - & Out<*>?")!>x.propT - & Out<*>?")!>x.propAny - & Out<*>?")!>x.propNullableT - & Out<*>?")!>x.propNullableAny - & Out<*>?")!>x.funT() - & Out<*>?")!>x.funAny() - & Out<*>?")!>x.funNullableT() - & Out<*>?")!>x.funNullableAny() + ? & Out<*>")!>x + ? & Out<*>")!>x.equals(null) + ? & Out<*>")!>x.propT + ? & Out<*>")!>x.propAny + ? & Out<*>")!>x.propNullableT + ? & Out<*>")!>x.propNullableAny + ? & Out<*>")!>x.funT() + ? & Out<*>")!>x.funAny() + ? & Out<*>")!>x.funNullableT() + ? & Out<*>")!>x.funNullableAny() } // TESTCASE NUMBER: 12 fun case_12(x: Map?) { if (x === null) throw Exception() - & kotlin.collections.Map?")!>x - & kotlin.collections.Map?")!>x.equals(null) - & kotlin.collections.Map?")!>x.propT - & kotlin.collections.Map?")!>x.propAny - & kotlin.collections.Map?")!>x.propNullableT - & kotlin.collections.Map?")!>x.propNullableAny - & kotlin.collections.Map?")!>x.funT() - & kotlin.collections.Map?")!>x.funAny() - & kotlin.collections.Map?")!>x.funNullableT() - & kotlin.collections.Map?")!>x.funNullableAny() + ? & kotlin.collections.Map")!>x + ? & kotlin.collections.Map")!>x.equals(null) + ? & kotlin.collections.Map")!>x.propT + ? & kotlin.collections.Map")!>x.propAny + ? & kotlin.collections.Map")!>x.propNullableT + ? & kotlin.collections.Map")!>x.propNullableAny + ? & kotlin.collections.Map")!>x.funT() + ? & kotlin.collections.Map")!>x.funAny() + ? & kotlin.collections.Map")!>x.funNullableT() + ? & kotlin.collections.Map")!>x.funNullableAny() } // TESTCASE NUMBER: 13 fun case_13(x: Map?) { if (x != null) else throw Exception() - & kotlin.collections.Map?")!>x - & kotlin.collections.Map?")!>x.equals(null) - & kotlin.collections.Map?")!>x.propT - & kotlin.collections.Map?")!>x.propAny - & kotlin.collections.Map?")!>x.propNullableT - & kotlin.collections.Map?")!>x.propNullableAny - & kotlin.collections.Map?")!>x.funT() - & kotlin.collections.Map?")!>x.funAny() - & kotlin.collections.Map?")!>x.funNullableT() - & kotlin.collections.Map?")!>x.funNullableAny() + ? & kotlin.collections.Map")!>x + ? & kotlin.collections.Map")!>x.equals(null) + ? & kotlin.collections.Map")!>x.propT + ? & kotlin.collections.Map")!>x.propAny + ? & kotlin.collections.Map")!>x.propNullableT + ? & kotlin.collections.Map")!>x.propNullableAny + ? & kotlin.collections.Map")!>x.funT() + ? & kotlin.collections.Map")!>x.funAny() + ? & kotlin.collections.Map")!>x.funNullableT() + ? & kotlin.collections.Map")!>x.funNullableAny() } // TESTCASE NUMBER: 14 fun case_14(x: MutableCollection?) { if (x !== null) else { throw Exception() } - & kotlin.collections.MutableCollection?")!>x - & kotlin.collections.MutableCollection?")!>x.equals(null) - & kotlin.collections.MutableCollection?")!>x.propT - & kotlin.collections.MutableCollection?")!>x.propAny - & kotlin.collections.MutableCollection?")!>x.propNullableT - & kotlin.collections.MutableCollection?")!>x.propNullableAny - & kotlin.collections.MutableCollection?")!>x.funT() - & kotlin.collections.MutableCollection?")!>x.funAny() - & kotlin.collections.MutableCollection?")!>x.funNullableT() - & kotlin.collections.MutableCollection?")!>x.funNullableAny() + ? & kotlin.collections.MutableCollection")!>x + ? & kotlin.collections.MutableCollection")!>x.equals(null) + ? & kotlin.collections.MutableCollection")!>x.propT + ? & kotlin.collections.MutableCollection")!>x.propAny + ? & kotlin.collections.MutableCollection")!>x.propNullableT + ? & kotlin.collections.MutableCollection")!>x.propNullableAny + ? & kotlin.collections.MutableCollection")!>x.funT() + ? & kotlin.collections.MutableCollection")!>x.funAny() + ? & kotlin.collections.MutableCollection")!>x.funNullableT() + ? & kotlin.collections.MutableCollection")!>x.funNullableAny() } // TESTCASE NUMBER: 15 @@ -257,61 +257,61 @@ fun case_19(x: Inv>>>>>>?) { // TESTCASE NUMBER: 20 fun case_20(x: Inv>>>>>>?) { if (true && true && true && x !== null) else throw Exception() - >>>>>> & Inv>>>>>>?")!>x - >>>>>> & Inv>>>>>>?")!>x.equals(null) - >>>>>> & Inv>>>>>>?")!>x.propT - >>>>>> & Inv>>>>>>?")!>x.propAny - >>>>>> & Inv>>>>>>?")!>x.propNullableT - >>>>>> & Inv>>>>>>?")!>x.propNullableAny - >>>>>> & Inv>>>>>>?")!>x.funT() - >>>>>> & Inv>>>>>>?")!>x.funAny() - >>>>>> & Inv>>>>>>?")!>x.funNullableT() - >>>>>> & Inv>>>>>>?")!>x.funNullableAny() + >>>>>>? & Inv>>>>>>")!>x + >>>>>>? & Inv>>>>>>")!>x.equals(null) + >>>>>>? & Inv>>>>>>")!>x.propT + >>>>>>? & Inv>>>>>>")!>x.propAny + >>>>>>? & Inv>>>>>>")!>x.propNullableT + >>>>>>? & Inv>>>>>>")!>x.propNullableAny + >>>>>>? & Inv>>>>>>")!>x.funT() + >>>>>>? & Inv>>>>>>")!>x.funAny() + >>>>>>? & Inv>>>>>>")!>x.funNullableT() + >>>>>>? & Inv>>>>>>")!>x.funNullableAny() } // TESTCASE NUMBER: 21 fun case_21(x: T) { if (x == null) throw Exception() - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 22 fun case_22(x: T?) { if (x === null) throw Exception() - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } // TESTCASE NUMBER: 23 fun case_23(x: Inv?) { if (x !== null) else throw Exception() - & Inv?")!>x - & Inv?")!>x.equals(null) - & Inv?")!>x.propT - & Inv?")!>x.propAny - & Inv?")!>x.propNullableT - & Inv?")!>x.propNullableAny - & Inv?")!>x.funT() - & Inv?")!>x.funAny() - & Inv?")!>x.funNullableT() - & Inv?")!>x.funNullableAny() + ? & Inv")!>x + ? & Inv")!>x.equals(null) + ? & Inv")!>x.propT + ? & Inv")!>x.propAny + ? & Inv")!>x.propNullableT + ? & Inv")!>x.propNullableAny + ? & Inv")!>x.funT() + ? & Inv")!>x.funAny() + ? & Inv")!>x.funNullableT() + ? & Inv")!>x.funNullableAny() } // TESTCASE NUMBER: 24 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/18.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/18.fir.kt index 8a24df69d6c..9d52ae3f312 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/18.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/18.fir.kt @@ -6,8 +6,8 @@ fun case_1(x: Int?) { while (true) { if (x == null) break - x - x.inv() + x + x.inv() } } @@ -15,16 +15,16 @@ fun case_1(x: Int?) { fun case_2(x: Unit?) { while (true) { if (x === null) continue - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -32,7 +32,7 @@ fun case_2(x: Unit?) { fun case_3(x: Nothing?, f: Boolean) { do { if (x != null) else break - x.hashCode() + x.hashCode() } while (f) } @@ -40,16 +40,16 @@ fun case_3(x: Nothing?, f: Boolean) { fun case_4(x: Number?) { for (i in 0..10) { if (x !== null) else { break } - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -143,16 +143,16 @@ fun case_10(x: Float?) { fun case_11(x: Out<*>?, list: List) { for (element in list) { if (x == null) continue - & Out<*>?")!>x - & Out<*>?")!>x.equals(null) - & Out<*>?")!>x.propT - & Out<*>?")!>x.propAny - & Out<*>?")!>x.propNullableT - & Out<*>?")!>x.propNullableAny - & Out<*>?")!>x.funT() - & Out<*>?")!>x.funAny() - & Out<*>?")!>x.funNullableT() - & Out<*>?")!>x.funNullableAny() + ? & Out<*>")!>x + ? & Out<*>")!>x.equals(null) + ? & Out<*>")!>x.propT + ? & Out<*>")!>x.propAny + ? & Out<*>")!>x.propNullableT + ? & Out<*>")!>x.propNullableAny + ? & Out<*>")!>x.funT() + ? & Out<*>")!>x.funAny() + ? & Out<*>")!>x.funNullableT() + ? & Out<*>")!>x.funNullableAny() } } @@ -160,8 +160,8 @@ fun case_11(x: Out<*>?, list: List) { fun case_12(list: List) { for (element in list) { if (element === null) continue - element - element.inv() + element + element.inv() } } @@ -169,16 +169,16 @@ fun case_12(list: List) { fun case_13(x: Map?) { do { if (x != null) else continue - & kotlin.collections.Map?")!>x - & kotlin.collections.Map?")!>x.equals(null) - & kotlin.collections.Map?")!>x.propT - & kotlin.collections.Map?")!>x.propAny - & kotlin.collections.Map?")!>x.propNullableT - & kotlin.collections.Map?")!>x.propNullableAny - & kotlin.collections.Map?")!>x.funT() - & kotlin.collections.Map?")!>x.funAny() - & kotlin.collections.Map?")!>x.funNullableT() - & kotlin.collections.Map?")!>x.funNullableAny() + ? & kotlin.collections.Map")!>x + ? & kotlin.collections.Map")!>x.equals(null) + ? & kotlin.collections.Map")!>x.propT + ? & kotlin.collections.Map")!>x.propAny + ? & kotlin.collections.Map")!>x.propNullableT + ? & kotlin.collections.Map")!>x.propNullableAny + ? & kotlin.collections.Map")!>x.funT() + ? & kotlin.collections.Map")!>x.funAny() + ? & kotlin.collections.Map")!>x.funNullableT() + ? & kotlin.collections.Map")!>x.funNullableAny() } while (false) } @@ -186,16 +186,16 @@ fun case_13(x: Map?) { fun case_14(x: MutableCollection?, r: IntRange) { for (i in r) { if (x !== null) else { break } - & kotlin.collections.MutableCollection?")!>x - & kotlin.collections.MutableCollection?")!>x.equals(null) - & kotlin.collections.MutableCollection?")!>x.propT - & kotlin.collections.MutableCollection?")!>x.propAny - & kotlin.collections.MutableCollection?")!>x.propNullableT - & kotlin.collections.MutableCollection?")!>x.propNullableAny - & kotlin.collections.MutableCollection?")!>x.funT() - & kotlin.collections.MutableCollection?")!>x.funAny() - & kotlin.collections.MutableCollection?")!>x.funNullableT() - & kotlin.collections.MutableCollection?")!>x.funNullableAny() + ? & kotlin.collections.MutableCollection")!>x + ? & kotlin.collections.MutableCollection")!>x.equals(null) + ? & kotlin.collections.MutableCollection")!>x.propT + ? & kotlin.collections.MutableCollection")!>x.propAny + ? & kotlin.collections.MutableCollection")!>x.propNullableT + ? & kotlin.collections.MutableCollection")!>x.propNullableAny + ? & kotlin.collections.MutableCollection")!>x.funT() + ? & kotlin.collections.MutableCollection")!>x.funAny() + ? & kotlin.collections.MutableCollection")!>x.funNullableT() + ? & kotlin.collections.MutableCollection")!>x.funNullableAny() } } @@ -287,26 +287,26 @@ fun case_19(map: MutableMap, y: Nothing?) { fun case_20(map: MutableMap) { for ((k, v) in map) { if (true && true && true && k !== null && v != null && true) else continue - k - k.equals(null) - k.propT - k.propAny - k.propNullableT - k.propNullableAny - k.funT() - k.funAny() - k.funNullableT() - k.funNullableAny() - v - v.equals(null) - v.propT - v.propAny - v.propNullableT - v.propNullableAny - v.funT() - v.funAny() - v.funNullableT() - v.funNullableAny() + k + k.equals(null) + k.propT + k.propAny + k.propNullableT + k.propNullableAny + k.funT() + k.funAny() + k.funNullableT() + k.funNullableAny() + v + v.equals(null) + v.propT + v.propAny + v.propNullableT + v.propNullableAny + v.funT() + v.funAny() + v.funNullableT() + v.funNullableAny() } } @@ -315,26 +315,26 @@ fun case_21(map: MutableMap) { for ((k, v) in map) { if (k == null) continue if (v === null || false) break - k - k.equals(null) - k.propT - k.propAny - k.propNullableT - k.propNullableAny - k.funT() - k.funAny() - k.funNullableT() - k.funNullableAny() - v - v.equals(null) - v.propT - v.propAny - v.propNullableT - v.propNullableAny - v.funT() - v.funAny() - v.funNullableT() - v.funNullableAny() + k + k.equals(null) + k.propT + k.propAny + k.propNullableT + k.propNullableAny + k.funT() + k.funAny() + k.funNullableT() + k.funNullableAny() + v + v.equals(null) + v.propT + v.propAny + v.propNullableT + v.propNullableAny + v.funT() + v.funAny() + v.funNullableT() + v.funNullableAny() } } @@ -342,16 +342,16 @@ fun case_21(map: MutableMap) { fun case_22(x: T?) { while (true) { if (x === null) break - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -359,16 +359,16 @@ fun case_22(x: T?) { fun case_23(x: Inv?) { for (i in -10..10) { if (x !== null) else continue - & Inv?")!>x - & Inv?")!>x.equals(null) - & Inv?")!>x.propT - & Inv?")!>x.propAny - & Inv?")!>x.propNullableT - & Inv?")!>x.propNullableAny - & Inv?")!>x.funT() - & Inv?")!>x.funAny() - & Inv?")!>x.funNullableT() - & Inv?")!>x.funNullableAny() + ? & Inv")!>x + ? & Inv")!>x.equals(null) + ? & Inv")!>x.propT + ? & Inv")!>x.propAny + ? & Inv")!>x.propNullableT + ? & Inv")!>x.propNullableAny + ? & Inv")!>x.funT() + ? & Inv")!>x.funAny() + ? & Inv")!>x.funNullableT() + ? & Inv")!>x.funNullableAny() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/19.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/19.fir.kt index 5489e3b118f..843dd80e246 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/19.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/19.fir.kt @@ -5,89 +5,89 @@ // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x is Int) { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 2 fun case_2(x: Any) { if (x is Unit) { - x - x.toString() + x + x.toString() } } // TESTCASE NUMBER: 3 fun case_3(x: Any?) { if (x !is Class) else { - x - x.prop_1 + x + x.prop_1 } } // TESTCASE NUMBER: 4 fun case_4(x: Any) { if (x !is EnumClass) else { - x - x.fun_1() + x + x.fun_1() } } // TESTCASE NUMBER: 5 fun case_5(x: Any?) { if (!(x !is Class.NestedClass?)) { - x - x?.prop_4 + x + x?.prop_4 } } // TESTCASE NUMBER: 6 fun case_6(x: Any?) { if (!(x !is Object)) { - x - x.prop_1 + x + x.prop_1 } } // TESTCASE NUMBER: 7 fun case_7(x: Any) { if (!(x is DeepObject.A.B.C.D.E.F.G.J)) else { - x - x.prop_1 + x + x.prop_1 } } // TESTCASE NUMBER: 8 fun case_8(x: Any?) { if (!(x is Int?)) else { - x - x?.inv() + x + x?.inv() } } // TESTCASE NUMBER: 9 fun case_9(x: Any?) { if (!!(x !is TypealiasNullableStringIndirect?)) else { - x - x?.get(0) + x + x?.get(0) } } // TESTCASE NUMBER: 10 fun case_10(x: Any?) { if (!!(x !is Interface3)) else { - x - x.itest() - x.itest3() + x + x.itest() + x.itest3() } } // TESTCASE NUMBER: 11 fun case_11(x: Any?) { if (x is SealedMixedChildObject1?) { - x - x?.prop_1 - x?.prop_2 + x + x?.prop_1 + x?.prop_2 } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/2.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/2.fir.kt index 5dd3f3ab3e1..8f5762dbd85 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/2.fir.kt @@ -159,16 +159,16 @@ fun case_7(a: DeepObject.A.B.C.D.E.F.G.J?) { val g = false if (a != null && g) { - a - a.equals(null) - a.propT - a.propAny - a.propNullableT - a.propNullableAny - a.funT() - a.funAny() - a.funNullableT() - a.funNullableAny() + a + a.equals(null) + a.propT + a.propAny + a.propNullableT + a.propNullableAny + a.funT() + a.funAny() + a.funNullableT() + a.funNullableAny() } } @@ -229,16 +229,16 @@ fun case_9(x: Any?) { if (x == null || false || false || false || false || false || false) { } else { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -298,7 +298,7 @@ fun case_12(a: ((Float) -> Int?)?, b: Float?, c: Boolean?) { if (true && a == null == true || b == null == true) { } else { - val x = a(b) + val x = a(b) ?")!>a.equals(null) ?")!>a.propT ?")!>a.propAny @@ -308,28 +308,28 @@ fun case_12(a: ((Float) -> Int?)?, b: Float?, c: Boolean?) { ?")!>a.funAny() ?")!>a.funNullableT() ?")!>a.funNullableAny() - b.equals(null) - b.propT - b.propAny - b.propNullableT - b.propNullableAny - b.funT() - b.funAny() - b.funNullableT() - b.funNullableAny() + b.equals(null) + b.propT + b.propAny + b.propNullableT + b.propNullableAny + b.funT() + b.funAny() + b.funNullableT() + b.funNullableAny() if (x == null == true || (c != null && !c)) { } else { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -467,7 +467,7 @@ fun case_16(b: Boolean, c: Boolean?) { } // TESTCASE NUMBER: 17 -fun case_17(a: Int?, b: Int = if (a != null) a else 0) { +fun case_17(a: Int?, b: Int = if (a != null) a else 0) { a b b.equals(null) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/21.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/21.fir.kt index ae097c8456f..ba97a374d81 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/21.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/21.fir.kt @@ -5,8 +5,8 @@ // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x is Int == true) { - x - x.inv() + x + x.inv() } } @@ -17,40 +17,40 @@ fun case_1(x: Any?) { */ fun case_2(x: Any) { if (x is Int === true) { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 3 fun case_3(x: Any?) { if (x !is Class == true == true == true == true == true) else { - x - x.prop_1 + x + x.prop_1 } } // TESTCASE NUMBER: 4 fun case_4(x: Any) { if (x !is EnumClass != false) else { - x - x.fun_1() + x + x.fun_1() } } // TESTCASE NUMBER: 5 fun case_5(x: Any?) { if (!(x !is Class.NestedClass?) != false == true) { - x - x?.prop_4 + x + x?.prop_4 } } // TESTCASE NUMBER: 6 fun case_6(x: Any?) { if (!(x !is Object) != false != false != false) { - x - x.prop_1 + x + x.prop_1 } } @@ -61,8 +61,8 @@ fun case_6(x: Any?) { */ fun case_7(x: Any) { if (!(x is DeepObject.A.B.C.D.E.F.G.J) !== false) else { - x - x.prop_1 + x + x.prop_1 } } @@ -73,8 +73,8 @@ fun case_7(x: Any) { */ fun case_8(x: Any?) { if (!(x is Int?) !== false !== false !== false) else { - x - x?.inv() + x + x?.inv() } } @@ -85,8 +85,8 @@ fun case_8(x: Any?) { */ fun case_9(x: Any?) { if (!!(x !is TypealiasNullableStringIndirect?) !== false === true) else { - x - x?.get(0) + x + x?.get(0) } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/22.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/22.fir.kt index d28ba6808ac..581c261d041 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/22.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/22.fir.kt @@ -6,8 +6,8 @@ fun case_1(x: Any?) { if (x is Int) { if (x !is Int) { - x - x.inv() + x + x.inv() } } } @@ -16,8 +16,8 @@ fun case_1(x: Any?) { fun case_2(x: Any) { if (x !is Unit) { if (x is Unit) { - x - x.toString() + x + x.toString() } } } @@ -26,8 +26,8 @@ fun case_2(x: Any) { fun case_3(x: Any?) { if (x !is Class) { if (x !is Class) else { - x - x.prop_1 + x + x.prop_1 } } } @@ -36,8 +36,8 @@ fun case_3(x: Any?) { fun case_4(x: Any) { if (x !is EnumClass) else { if (x !is EnumClass) { - x - x.fun_1() + x + x.fun_1() } } } @@ -46,8 +46,8 @@ fun case_4(x: Any) { fun case_5(x: Any?) { if (!(x !is Class.NestedClass?)) { if (!!(x !is Class.NestedClass?)) { - x - x?.prop_4 + x + x?.prop_4 } } } @@ -56,8 +56,8 @@ fun case_5(x: Any?) { fun case_6(x: Any?) { if (!(x is Object)) { if (!(x !is Object)) { - x - x.prop_1 + x + x.prop_1 } } } @@ -66,8 +66,8 @@ fun case_6(x: Any?) { fun case_7(x: Any) { if (!(x is DeepObject.A.B.C.D.E.F.G.J)) { if (!(x is DeepObject.A.B.C.D.E.F.G.J)) else { - x - x.prop_1 + x + x.prop_1 } } } @@ -76,8 +76,8 @@ fun case_7(x: Any) { fun case_8(x: Any?) { if (!!!!(x is Int?)) else { if (!(x is Int?)) else { - x - x?.inv() + x + x?.inv() } } } @@ -86,8 +86,8 @@ fun case_8(x: Any?) { fun case_9(x: Any?) { if (!!!(x !is TypealiasNullableStringIndirect?)) else { if (!!(x !is TypealiasNullableStringIndirect?)) else { - x - x?.get(0) + x + x?.get(0) } } } @@ -96,9 +96,9 @@ fun case_9(x: Any?) { fun case_10(x: Any?) { if (!!(x is Interface3)) else { if (!!(x !is Interface3)) else { - x - x.itest() - x.itest3() + x + x.itest() + x.itest3() } } } @@ -107,9 +107,9 @@ fun case_10(x: Any?) { fun case_11(x: Any?) { if (x is SealedMixedChildObject1?) { if (x is SealedMixedChildObject1?) { - x - x?.prop_1 - x?.prop_2 + x + x?.prop_1 + x?.prop_2 } } } @@ -118,7 +118,7 @@ fun case_11(x: Any?) { inline fun case_12(x: Any?) { if (x is T) { if (x is T is K) { - x + x } } } @@ -127,7 +127,7 @@ inline fun case_12(x: Any?) { inline fun case_13(x: Any?) { if (x is T) { if (x is K) { - x + x } } } @@ -136,7 +136,7 @@ inline fun case_13(x: Any?) { inline fun case_14(x: Any?) { if (x is T) { if (x !is T) { - x + x } } } @@ -145,7 +145,7 @@ inline fun case_14(x: Any?) { inline fun case_15(x: Any?) { if (x !is T) { if (x is T) { - x + x } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/23.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/23.fir.kt index cce4c0e55f0..afcff329124 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/23.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/23.fir.kt @@ -6,9 +6,9 @@ class Case1 { inline fun case_1(x: Any?) { if (x is T) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } } @@ -18,10 +18,10 @@ fun case_2() where T: CharSequence, T: Number { class Case1 where K : T { inline fun case_1(x: Any?) { if (x is T) { - x - x.toByte() - x.length - x.get(0) + x + x.toByte() + x.length + x.get(0) } } } @@ -32,10 +32,10 @@ fun case_3(x: Any?) where T: CharSequence, T: Number { class Case1 where K : T { inline fun case_1() { if (x is T) { - x - x.toByte() - x.length - x.get(0) + x + x.toByte() + x.length + x.get(0) } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/24.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/24.fir.kt index f576821b144..b01f2236ef5 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/24.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/24.fir.kt @@ -8,9 +8,9 @@ fun case_1(x: Any?) where T: CharSequence { class Case1 where K : T { inline fun case_1() { if (x is T) { - x.toByte() - x.length - x.get(0) + x.toByte() + x.length + x.get(0) } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/25.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/25.fir.kt index 22bca72ead5..fbcc4cc42e4 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/25.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/25.fir.kt @@ -14,13 +14,13 @@ open class Case1 { x as L x as K if (x is T) { - x - x.toByte() - x.length - x.get(0) - x.size - x.isEmpty() - x[null] + x + x.toByte() + x.length + x.get(0) + x.size + x.isEmpty() + x[null] } } } @@ -31,9 +31,9 @@ open class Case1 { inline fun case_2(x: Any?) { x as T if (x !is T) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } @@ -41,9 +41,9 @@ inline fun case_2(x: Any?) { inline fun case_3(x: Any?) { x as T? if (x is T) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } @@ -51,9 +51,9 @@ inline fun case_3(x: Any?) { inline fun case_4(x: Any?) { (x as? T)!! if (x is T?) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } @@ -61,9 +61,9 @@ inline fun case_4(x: Any?) { inline fun case_5(x: Any?) { if (x as? T != null) { if (x is T?) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/26.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/26.fir.kt index 22bca72ead5..fbcc4cc42e4 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/26.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/26.fir.kt @@ -14,13 +14,13 @@ open class Case1 { x as L x as K if (x is T) { - x - x.toByte() - x.length - x.get(0) - x.size - x.isEmpty() - x[null] + x + x.toByte() + x.length + x.get(0) + x.size + x.isEmpty() + x[null] } } } @@ -31,9 +31,9 @@ open class Case1 { inline fun case_2(x: Any?) { x as T if (x !is T) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } @@ -41,9 +41,9 @@ inline fun case_2(x: Any?) { inline fun case_3(x: Any?) { x as T? if (x is T) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } @@ -51,9 +51,9 @@ inline fun case_3(x: Any?) { inline fun case_4(x: Any?) { (x as? T)!! if (x is T?) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } @@ -61,9 +61,9 @@ inline fun case_4(x: Any?) { inline fun case_5(x: Any?) { if (x as? T != null) { if (x is T?) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/27.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/27.fir.kt index 22bca72ead5..fbcc4cc42e4 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/27.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/27.fir.kt @@ -14,13 +14,13 @@ open class Case1 { x as L x as K if (x is T) { - x - x.toByte() - x.length - x.get(0) - x.size - x.isEmpty() - x[null] + x + x.toByte() + x.length + x.get(0) + x.size + x.isEmpty() + x[null] } } } @@ -31,9 +31,9 @@ open class Case1 { inline fun case_2(x: Any?) { x as T if (x !is T) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } @@ -41,9 +41,9 @@ inline fun case_2(x: Any?) { inline fun case_3(x: Any?) { x as T? if (x is T) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } @@ -51,9 +51,9 @@ inline fun case_3(x: Any?) { inline fun case_4(x: Any?) { (x as? T)!! if (x is T?) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } @@ -61,9 +61,9 @@ inline fun case_4(x: Any?) { inline fun case_5(x: Any?) { if (x as? T != null) { if (x is T?) { - x - x.length - x.get(0) + x + x.length + x.get(0) } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/28.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/28.fir.kt index c80bf9ecb71..1f17fa4759c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/28.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/28.fir.kt @@ -5,72 +5,72 @@ // TESTCASE NUMBER: 1 fun case_1(x: Int?) { if (x?.inv() != null) { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 2 fun case_2(x: Int?) { if (x?.inv() == null) else if (true) {} else { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 3 fun case_3(x: Boolean?) { if (x?.not() == null) else { - x - x.not() + x + x.not() } } // TESTCASE NUMBER: 4 fun case_4(x: EnumClass?) { if (x?.fun_1() !== null) { - x - x.fun_1() + x + x.fun_1() } } // TESTCASE NUMBER: 5 fun case_5(x: Class.NestedClass?) { if (x?.prop_4 != null) { - x - x.prop_4 + x + x.prop_4 } } // TESTCASE NUMBER: 6 fun case_6(x: Class.NestedClass?) { if (!(x?.prop_4 == null)) { - x - x.prop_4 + x + x.prop_4 } } // TESTCASE NUMBER: 7 fun case_7(x: DeepObject.A.B.C.D.E.F.G.J?) { if (!!(x?.prop_1 != null)) { - x - x.prop_1 + x + x.prop_1 } } // TESTCASE NUMBER: 8 fun case_8(x: Any?) { if (x?.equals(10) === null) else { - x - x.equals(10) + x + x.equals(10) } } // TESTCASE NUMBER: 9 fun case_9(x: Any?) { if (x?.equals(10) !== null) { - x - x.equals(10) + x + x.equals(10) } } @@ -81,9 +81,9 @@ fun case_9(x: Any?) { */ fun case_10(x: Interface3?) { if (x?.itest() == null == true) else { - x - x.itest() - x.itest3() + x + x.itest() + x.itest3() } } @@ -94,41 +94,41 @@ fun case_10(x: Interface3?) { */ fun case_11(x: SealedMixedChildObject1?) { if (x?.prop_1 != null == true) { - x - x.prop_1 - x.prop_2 + x + x.prop_1 + x.prop_2 } } // TESTCASE NUMBER: 12 inline fun case_12(x: Any?) { if (x?.equals(10) != null) { - x - x.equals(10) + x + x.equals(10) } } // TESTCASE NUMBER: 13 inline fun case_13(x: Any?) { if (x?.equals(10) == null) {} else { - x - x.equals(10) + x + x.equals(10) } } // TESTCASE NUMBER: 14 inline fun case_14(x: Any?) { if (x?.equals(10) === null) else { - x - x.equals(10) + x + x.equals(10) } } // TESTCASE NUMBER: 15 inline fun case_15(x: Any?) { if (x?.equals(10) !== null) { - x - x.equals(10) + x + x.equals(10) } } @@ -139,8 +139,8 @@ inline fun case_15(x: Any?) { */ inline fun case_16(x: Any?) { if (x?.equals(10) === null == true) else { - x - x.equals(10) + x + x.equals(10) } } @@ -151,8 +151,8 @@ inline fun case_16(x: Any?) { */ inline fun case_17(x: Any?) { if (x?.equals(10) !== null == true) { - x - x.equals(10) + x + x.equals(10) } } @@ -163,8 +163,8 @@ inline fun case_17(x: Any?) { */ inline fun case_18(x: Any?) { if (x?.equals(10) === null === true) else { - x - x.equals(10) + x + x.equals(10) } } @@ -175,8 +175,8 @@ inline fun case_18(x: Any?) { */ inline fun case_19(x: Any?) { if (x?.equals(10) !== null === true) { - x - x.equals(10) + x + x.equals(10) } } @@ -187,8 +187,8 @@ inline fun case_19(x: Any?) { */ inline fun case_20(x: Any?) { if (x?.equals(10) === null !== false) else { - x - x.equals(10) + x + x.equals(10) } } @@ -199,8 +199,8 @@ inline fun case_20(x: Any?) { */ inline fun case_21(x: Any?) { if (x?.equals(10) !== null !== false) { - x - x.equals(10) + x + x.equals(10) } } @@ -211,8 +211,8 @@ inline fun case_21(x: Any?) { */ inline fun case_22(x: Any?) { if (x?.equals(10) !== null !== true) else { - x - x.equals(10) + x + x.equals(10) } } @@ -223,8 +223,8 @@ inline fun case_22(x: Any?) { */ inline fun case_23(x: Any?) { if (x?.equals(10) === null === false) { - x - x.equals(10) + x + x.equals(10) } } @@ -235,8 +235,8 @@ inline fun case_23(x: Any?) { */ inline fun case_24(x: Any?) { if (x?.equals(10) !== null != true) else { - x - x.equals(10) + x + x.equals(10) } } @@ -247,8 +247,8 @@ inline fun case_24(x: Any?) { */ inline fun case_25(x: Any?) { if (x?.equals(10) === null == false) { - x - x.equals(10) + x + x.equals(10) } } @@ -259,8 +259,8 @@ inline fun case_25(x: Any?) { */ inline fun case_26(x: Any?) { if (x?.equals(10) != null === false) else { - x - x.equals(10) + x + x.equals(10) } } @@ -271,8 +271,8 @@ inline fun case_26(x: Any?) { */ inline fun case_27(x: Any?) { if (x?.equals(10) == null === false) { - x - x.equals(10) + x + x.equals(10) } } @@ -283,8 +283,8 @@ inline fun case_27(x: Any?) { */ inline fun case_28(x: Any?) { if (x?.equals(10) != null == false) else { - x - x.equals(10) + x + x.equals(10) } } @@ -295,8 +295,8 @@ inline fun case_28(x: Any?) { */ inline fun case_29(x: Any?) { if (x?.equals(10) == null == false) { - x - x.equals(10) + x + x.equals(10) } } @@ -307,8 +307,8 @@ inline fun case_29(x: Any?) { */ fun case_30(x: Class.NestedClass?) { if (x?.prop_4 != null == true) { - x - x.prop_4 + x + x.prop_4 } } @@ -319,8 +319,8 @@ fun case_30(x: Class.NestedClass?) { */ fun case_31(x: Class.NestedClass?) { if (!(x?.prop_4 == null) != false) { - x - x.prop_4 + x + x.prop_4 } } @@ -331,8 +331,8 @@ fun case_31(x: Class.NestedClass?) { */ fun case_32(x: Class.NestedClass?) { if (x?.prop_4 == null == false) { - x - x.prop_4 + x + x.prop_4 } } @@ -343,7 +343,7 @@ fun case_32(x: Class.NestedClass?) { */ fun case_33(x: Class.NestedClass?) { if (!(x?.prop_4 != null) != true) { - x - x.prop_4 + x + x.prop_4 } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/29.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/29.fir.kt index ac4996d23b6..67f12f4b2df 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/29.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/29.fir.kt @@ -5,33 +5,33 @@ // TESTCASE NUMBER: 1 fun case_1(x: Class?) { if (x?.prop_8?.prop_8?.prop_8?.prop_8 != null) { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8 } } // TESTCASE NUMBER: 2 fun case_2(x: Class?) { if (x?.prop_8?.prop_8?.prop_8?.prop_8 !== null) { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8 } } // TESTCASE NUMBER: 3 fun case_3(x: Class?) { if (x?.prop_8?.prop_8?.prop_8?.prop_8 == null) else { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8 } } @@ -42,18 +42,18 @@ fun case_3(x: Class?) { */ fun case_4(x: Class?) { if (x?.prop_8?.prop_8?.prop_8?.prop_8 == null == true) else { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8 } } // TESTCASE NUMBER: 5 fun case_5(x: T) { if (x?.propNullableT != null) { - x + x } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/3.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/3.fir.kt index 64b2dd1929c..8ee33236b69 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/3.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/3.fir.kt @@ -60,7 +60,7 @@ fun case_6(x: EmptyClass?) { // TESTCASE NUMBER: 7 fun case_7() { - if (nullableStringProperty == null || nullableStringProperty == null) { + if (nullableStringProperty == null || nullableStringProperty == null) { nullableStringProperty } } @@ -259,7 +259,7 @@ fun case_23(a: ((Float) -> Int?)?, b: Float?) { ?")!>a b if (a != null) { - & kotlin.Function1?")!>a + ? & kotlin.Function1")!>a } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/30.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/30.fir.kt index a2070fc7221..fab49cb5607 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/30.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/30.fir.kt @@ -9,11 +9,11 @@ */ fun case_1(x: Class?) { if (x!!.prop_8?.prop_8?.prop_8?.prop_8 != null) { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8 } } @@ -24,11 +24,11 @@ fun case_1(x: Class?) { */ fun case_2(x: Class?) { if (x?.prop_8!!.prop_8?.prop_8?.prop_8 !== null) { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8 } } @@ -39,11 +39,11 @@ fun case_2(x: Class?) { */ fun case_3(x: Class?) { if (x?.prop_8?.prop_8?.prop_8!!.prop_8 == null) else { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8.prop_8 } } @@ -54,11 +54,11 @@ fun case_3(x: Class?) { */ fun case_4(x: Class?) { if (x!!?.prop_8?.prop_8?.prop_8?.prop_8 == null == true) else { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8 } } @@ -69,11 +69,11 @@ fun case_4(x: Class?) { */ fun case_5(x: Class?) { if (x?.prop_8!!?.prop_8?.prop_8?.prop_8 == null == true) else { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8 } } @@ -84,11 +84,11 @@ fun case_5(x: Class?) { */ fun case_6(x: Class?) { if (x?.prop_8?.prop_8?.prop_8!!?.prop_8 == null == true) else { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8.prop_8 } } @@ -124,7 +124,7 @@ fun case_8(x: Class) { // TESTCASE NUMBER: 9 fun case_9(x: T) { if (x!!.propNullableT != null) { - x + x x.propNullableT } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/31.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/31.fir.kt index f27996473ae..8becfa46a9d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/31.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/31.fir.kt @@ -9,11 +9,11 @@ */ fun case_1(x: Any?) { if ((x as Class).prop_8?.prop_8?.prop_8?.prop_8 != null) { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8 } } @@ -24,11 +24,11 @@ fun case_1(x: Any?) { */ fun case_2(x: Class?) { if ((x as Class).prop_8?.prop_8?.prop_8?.prop_8 !== null) { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8 } } @@ -39,11 +39,11 @@ fun case_2(x: Class?) { */ fun case_3(x: Any?) { if ((x as Class?)?.prop_8?.prop_8?.prop_8?.prop_8 == null) else { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8.prop_8 } } @@ -54,11 +54,11 @@ fun case_3(x: Any?) { */ fun case_4(x: Any?) { if ((x as Class?)!!.prop_8?.prop_8?.prop_8?.prop_8 == null) else { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8.prop_8 } } @@ -69,11 +69,11 @@ fun case_4(x: Any?) { */ fun case_5(x: Class?) { if ((x?.prop_8 as Class).prop_8?.prop_8?.prop_8 == null == true) else { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8 } } @@ -84,18 +84,18 @@ fun case_5(x: Class?) { */ fun case_6(x: Class?) { if ((x?.prop_8?.prop_8?.prop_8 as Class?)?.prop_8 == null == true) else { - x - x.prop_8 - x.prop_8.prop_8 - x.prop_8.prop_8.prop_8 - x.prop_8.prop_8.prop_8.prop_8.prop_8 + x + x.prop_8 + x.prop_8.prop_8 + x.prop_8.prop_8.prop_8 + x.prop_8.prop_8.prop_8.prop_8.prop_8 } } // TESTCASE NUMBER: 5 fun case_5(x: T) { if ((x as Any).propNullableT != null) { - x + x } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/32.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/32.fir.kt index d92d04b74a1..7088ae32666 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/32.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/32.fir.kt @@ -6,9 +6,9 @@ fun case_1(x: T?, y: K?) { x as T y as K - val z = x ?: y + val z = x ?: y - x.equals(10) + x.equals(10) z z.equals(10) } @@ -17,6 +17,6 @@ fun case_1(x: T?, y: K?) { inline fun case_2(y: K?) { y as K - y - y.equals(10) + y + y.equals(10) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.fir.kt index 8695a0ed03e..76c42bfb6a0 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.fir.kt @@ -12,8 +12,8 @@ fun case_1() { x = 42 } - x - x.inv() + x + x.inv() } // TESTCASE NUMBER: 2 @@ -26,8 +26,8 @@ fun case_2() { x = 42.0 } - & kotlin.Any?")!>x - & kotlin.Any?")!>x.equals(10) + ")!>x + ")!>x.equals(10) } // TESTCASE NUMBER: 3 @@ -40,8 +40,8 @@ fun case_3() { x = ClassLevel3() } - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 4 @@ -54,8 +54,8 @@ fun case_4() { x = 42.0 } - x - x.minus(10.0) + x + x.minus(10.0) } // TESTCASE NUMBER: 5 @@ -68,8 +68,8 @@ fun case_5() { x = 42.0 } - x - x.minus(10.0) + x + x.minus(10.0) } /* diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/34.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/34.fir.kt index bdda892a162..356c3d93f92 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/34.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/34.fir.kt @@ -6,11 +6,11 @@ fun case_1() { var a: Any? = null if (a == null) return - val b = select(a) - val c = a + val b = select(a) + val c = a b - c - c.equals(10) + c + c.equals(10) b.equals(10) } @@ -18,8 +18,8 @@ fun case_1() { fun case_2(a: Any?) { if (a is String) { val b = a - b - b.length + b + b.length } } @@ -30,8 +30,8 @@ fun case_3(a: Any?) { val c = b val d = c val e = d - e - e.length + e + e.length } } @@ -46,12 +46,12 @@ fun case_4(a: Any?) { if (d is ClassLevel4) { val e = d if (e is ClassLevel5) { - e - e.test1() - e.test2() - e.test3() - e.test4() - e.test5() + e + e.test1() + e.test2() + e.test3() + e.test4() + e.test5() } } } @@ -81,12 +81,12 @@ fun case_5(a: Any?) { && if (true) {e = d;false} else {e = d;true} && if (true) {e as? ClassLevel5 ?: e as ClassLevel5;true} else {e as? ClassLevel5 ?: e as ClassLevel5;false} ) { - e - e.test1() - e.test2() - e.test3() - e.test4() - e.test5() + e + e.test1() + e.test2() + e.test3() + e.test4() + e.test5() } } @@ -104,18 +104,18 @@ fun case_6() { when (if (true) {d.test2(); e = d; e as ClassLevel3} else {d.test2(); e = d; e as ClassLevel3}) { else -> ClassLevel2() } -> { - e - println(e.inv()) - println(e.test1()) - println(e.test2()) - println(e.test3()) + e + println(e.inv()) + println(e.test1()) + println(e.test2()) + println(e.test3()) } else -> { - e - println(e.inv()) - println(e.test1()) - println(e.test2()) - println(e.test3()) + e + println(e.inv()) + println(e.test1()) + println(e.test2()) + println(e.test3()) } } } @@ -133,7 +133,7 @@ fun case_7() { e as ClassLevel2 e = d - e - e.test1() - e.test2() + e + e.test1() + e.test2() } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.fir.kt index 45d1ac8ac5d..07ebf4bbfa7 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.fir.kt @@ -20,7 +20,7 @@ fun case_1(x: Any?) { fun case_2(x: Any?) { while (true) { x ?: return - x + x } x @@ -34,7 +34,7 @@ fun case_2(x: Any?) { */ fun case_3(x: Any?) { while (true) { - x ?: return ?: x + x ?: return ?: x } x @@ -45,8 +45,8 @@ fun case_3(x: Any?) { fun case_4(x: Any?) { while (true) { x ?: break - x - x.equals(10) + x + x.equals(10) } x @@ -56,8 +56,8 @@ fun case_4(x: Any?) { fun case_5(x: Any?) { while (true) { x ?: continue - x - x.equals(10) + x + x.equals(10) } x @@ -67,19 +67,19 @@ fun case_5(x: Any?) { fun case_6(x: Any?) { do { x ?: continue - x - x.equals(10) + x + x.equals(10) } while (false) - x + x } // TESTCASE NUMBER: 7 fun case_7(x: Any?) { do { x ?: break - x - x.equals(10) + x + x.equals(10) } while (false) x diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.fir.kt index 80abecf96f6..0444125e669 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.fir.kt @@ -13,17 +13,17 @@ fun case_1() { b b.equals(10) - c - c.equals(10) + c + c.equals(10) } // TESTCASE NUMBER: 2 fun case_2(x: Any) { if (x is String) { val y = x - x - y - y.length + x + y + y.length } } @@ -33,11 +33,11 @@ fun case_3(x: Any?) { var y = x if (y == null) throw Exception() var z = y - x - y - z - y.toByte() - z.toByte() + x + y + z + y.toByte() + z.toByte() } } @@ -47,11 +47,11 @@ fun case_4(x: Any?) { var y = x while (true && y != null) { var z = y - x - y - z - y.toByte() - z.toByte() + x + y + z + y.toByte() + z.toByte() } } } @@ -62,10 +62,10 @@ fun case_5(x: Any?) { while (false || y != null) { if (y is Number) { val z = select(y) - x - y + x + y z - y.toByte() + y.toByte() z.toByte() } } @@ -139,7 +139,7 @@ fun case_11(x: Any?, z: Any, b: Boolean?) { while (true) { var y = x ?: if (b == true) continue!! else if (!(b != false)) return else break ?: break::class z !== y && if (b == true) return else if (b === false) null!!else throw Exception() - x + x y y.equals(10) } @@ -162,10 +162,10 @@ fun case_13(x: Any?) { var y = select(select(select(select(select(select(x)))))) if (y == null) throw Exception() var z = select(select(select(select(y), select(y)), select(select(y), select(y))), select(select(select(y), select(y)), select(select(y), select(y)))) - x - y + x + y z - y.toByte() + y.toByte() z.toByte() } } @@ -174,7 +174,7 @@ fun case_13(x: Any?) { fun case_14(x: Any?) { if (x is Number?) { var y = removeNullable(x) - x + x y y.toByte() } @@ -186,10 +186,10 @@ fun case_15(x: Any?) { var y = removeNullable(removeNullable(removeNullable(removeNullable(x), removeNullable(x)), removeNullable(removeNullable(x), removeNullable(x))), removeNullable(removeNullable(removeNullable(x), removeNullable(x)), removeNullable(removeNullable(x), removeNullable(x)))) if (y !is Int) throw Exception() var z = select(select(select(select(y), select(y)), select(select(y), select(y))), select(select(select(y), select(y)), select(select(y), select(y)))) - x - y + x + y z - y.inv() + y.inv() z.inv() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.fir.kt index 532eb88281a..ec11d464e77 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.fir.kt @@ -34,7 +34,7 @@ fun case_2(a: Any?) { */ fun case_3(x: Int?) { while (true) { - x ?: return ?: x + x ?: return ?: x } x @@ -89,8 +89,8 @@ fun case_7(x: Boolean?) { fun case_8(x: Boolean?) { while (x ?: return) - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 9 @@ -98,8 +98,8 @@ fun case_9(x: Boolean?) { while (x ?: return) while (x == null) - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 10 @@ -121,8 +121,8 @@ fun case_11(x: Boolean?) { x } - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 12 @@ -132,8 +132,8 @@ fun case_12(x: Boolean?) { break && x } - x - x.equals(10) + x + x.equals(10) } /* @@ -160,8 +160,8 @@ fun case_14(x: Boolean?) { x ?: return } while(false) - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 15 @@ -171,8 +171,8 @@ fun case_15(x: Boolean?) { println(1) } while(false) - x - x.equals(10) + x + x.equals(10) } /* @@ -185,8 +185,8 @@ fun case_16(x: Boolean?) { x ?: x!! } while(false) - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 17 @@ -206,6 +206,6 @@ fun case_17(x: Boolean?, y: Boolean?) { break@loop } - x - x.not() + x + x.not() } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/38.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/38.fir.kt index 5d062eb2e9c..244235a5b1a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/38.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/38.fir.kt @@ -5,8 +5,8 @@ // TESTCASE NUMBER: 1 fun case_1(x: Comparable<*>?) { if (x is Byte?) { - ?")!>x - ?")!>x?.equals(10) + ? & kotlin.Byte?")!>x + ? & kotlin.Byte?")!>x?.equals(10) x!!.dec() } } @@ -14,40 +14,40 @@ fun case_1(x: Comparable<*>?) { // TESTCASE NUMBER: 2 fun case_2(x: ClassWithThreeTypeParameters<*, *, *>?) { if (x is InterfaceWithTwoTypeParameters<*, *>?) { - ? & ClassWithThreeTypeParameters<*, *, *>? & ClassWithThreeTypeParameters<*, *, *>?")!>x - ? & ClassWithThreeTypeParameters<*, *, *>? & ClassWithThreeTypeParameters<*, *, *>?")!>x?.x + ? & InterfaceWithTwoTypeParameters<*, *>? & ClassWithThreeTypeParameters<*, *, *>?")!>x + ? & InterfaceWithTwoTypeParameters<*, *>? & ClassWithThreeTypeParameters<*, *, *>?")!>x?.x x?.y x?.z & ClassWithThreeTypeParameters<*, *, *>")!>x!!.ip2test() - & ClassWithThreeTypeParameters<*, *, *> & ClassWithThreeTypeParameters<*, *, *>?")!>x - & ClassWithThreeTypeParameters<*, *, *> & ClassWithThreeTypeParameters<*, *, *>?")!>x.x + ? & InterfaceWithTwoTypeParameters<*, *> & ClassWithThreeTypeParameters<*, *, *>")!>x + ? & InterfaceWithTwoTypeParameters<*, *> & ClassWithThreeTypeParameters<*, *, *>")!>x.x } } // TESTCASE NUMBER: 3 fun case_3(x: ClassWithThreeTypeParameters<*, *, *>) { if (x is InterfaceWithTwoTypeParameters<*, *>?) { - & ClassWithThreeTypeParameters<*, *, *> & ClassWithThreeTypeParameters<*, *, *>")!>x - & ClassWithThreeTypeParameters<*, *, *> & ClassWithThreeTypeParameters<*, *, *>")!>x.x + & InterfaceWithTwoTypeParameters<*, *> & ClassWithThreeTypeParameters<*, *, *>")!>x + & InterfaceWithTwoTypeParameters<*, *> & ClassWithThreeTypeParameters<*, *, *>")!>x.x x.y x.z & ClassWithThreeTypeParameters<*, *, *>")!>x!!.ip2test() - & ClassWithThreeTypeParameters<*, *, *> & ClassWithThreeTypeParameters<*, *, *>")!>x - & ClassWithThreeTypeParameters<*, *, *> & ClassWithThreeTypeParameters<*, *, *>")!>x.x + & InterfaceWithTwoTypeParameters<*, *> & ClassWithThreeTypeParameters<*, *, *>")!>x + & InterfaceWithTwoTypeParameters<*, *> & ClassWithThreeTypeParameters<*, *, *>")!>x.x } } // TESTCASE NUMBER: 4 fun case_4(x: ClassWithSixTypeParameters<*, *, *, *, *, *>?) { if (x is InterfaceWithTwoTypeParameters<*, *>) { - & ClassWithSixTypeParameters<*, *, *, *, *, *> & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>x - & ClassWithSixTypeParameters<*, *, *, *, *, *> & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>x.x + ? & InterfaceWithTwoTypeParameters<*, *> & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>x + ? & InterfaceWithTwoTypeParameters<*, *> & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>x.x x.y x.z x.u & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>x!!.ip2test() - & ClassWithSixTypeParameters<*, *, *, *, *, *> & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>x - & ClassWithSixTypeParameters<*, *, *, *, *, *> & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>x.x + ? & InterfaceWithTwoTypeParameters<*, *> & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>x + ? & InterfaceWithTwoTypeParameters<*, *> & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>x.x } } @@ -55,13 +55,13 @@ fun case_4(x: ClassWithSixTypeParameters<*, *, *, *, *, *>?) { fun case_5(x: ClassWithThreeTypeParameters<*, *, *>?) { if (x is InterfaceWithTwoTypeParameters<*, *>?) { if (x === null) return - & ClassWithThreeTypeParameters<*, *, *> & ClassWithThreeTypeParameters<*, *, *>?")!>x - & ClassWithThreeTypeParameters<*, *, *> & ClassWithThreeTypeParameters<*, *, *>?")!>x.x + ? & InterfaceWithTwoTypeParameters<*, *> & ClassWithThreeTypeParameters<*, *, *>")!>x + ? & InterfaceWithTwoTypeParameters<*, *> & ClassWithThreeTypeParameters<*, *, *>")!>x.x x.y x.z - & ClassWithThreeTypeParameters<*, *, *> & ClassWithThreeTypeParameters<*, *, *>?")!>x.ip2test() - & ClassWithThreeTypeParameters<*, *, *> & ClassWithThreeTypeParameters<*, *, *>?")!>x - & ClassWithThreeTypeParameters<*, *, *> & ClassWithThreeTypeParameters<*, *, *>?")!>x.x + ? & InterfaceWithTwoTypeParameters<*, *> & ClassWithThreeTypeParameters<*, *, *>")!>x.ip2test() + ? & InterfaceWithTwoTypeParameters<*, *> & ClassWithThreeTypeParameters<*, *, *>")!>x + ? & InterfaceWithTwoTypeParameters<*, *> & ClassWithThreeTypeParameters<*, *, *>")!>x.x } } @@ -70,13 +70,13 @@ fun case_5(x: Any?) { if (x is ClassWithThreeTypeParameters<*, *, *>?) { if (x is InterfaceWithTwoTypeParameters<*, *>?) { if (x === null) return - & InterfaceWithTwoTypeParameters<*, *> & kotlin.Any?")!>x - & InterfaceWithTwoTypeParameters<*, *> & kotlin.Any?")!>x.x + & InterfaceWithTwoTypeParameters<*, *>")!>x + & InterfaceWithTwoTypeParameters<*, *>")!>x.x x.y x.z - & InterfaceWithTwoTypeParameters<*, *> & kotlin.Any?")!>x.ip2test() - & InterfaceWithTwoTypeParameters<*, *> & kotlin.Any?")!>x - & InterfaceWithTwoTypeParameters<*, *> & kotlin.Any?")!>x.x + & InterfaceWithTwoTypeParameters<*, *>")!>x.ip2test() + & InterfaceWithTwoTypeParameters<*, *>")!>x + & InterfaceWithTwoTypeParameters<*, *>")!>x.x } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/39.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/39.fir.kt index 3f005ff06ce..106ef6aa8b7 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/39.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/39.fir.kt @@ -21,8 +21,8 @@ fun case_2(x: Number) { val y: Int? = null if (x === y) { - x - x.inv() + x + x.inv() } } @@ -31,8 +31,8 @@ fun case_3(x: Number) { var y: Int? = null if (x === y) { - x - x.inv() + x + x.inv() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/40.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/40.fir.kt index e94d4d0792b..15de9326010 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/40.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/40.fir.kt @@ -42,7 +42,7 @@ fun case_4(x: Any?) { fun case_5(x: Any?) { x!! if (x is Int?) { - x.inv() + x.inv() select(x).inv() } } @@ -53,7 +53,7 @@ fun case_5(x: Any?) { */ fun case_6(x: Any?) { if (x is Boolean? && x!!) { - x.not() + x.not() select(x).not() } } @@ -61,7 +61,7 @@ fun case_6(x: Any?) { // TESTCASE NUMBER: 7 fun case_7(x: Boolean?) { if (x != null && x!!) { - x.not() + x.not() select(x).not() } } @@ -69,7 +69,7 @@ fun case_7(x: Boolean?) { // TESTCASE NUMBER: 8 fun case_8(x: Any?) { if (x != null && x is Boolean?) { - x.not() + x.not() select(x).not() } } @@ -77,7 +77,7 @@ fun case_8(x: Any?) { // TESTCASE NUMBER: 9 fun case_9(x: Any?) { if (x is Boolean? && x != null) { - x.not() + x.not() select(x).not() } } @@ -85,7 +85,7 @@ fun case_9(x: Any?) { // TESTCASE NUMBER: 10 fun case_10(x: Any?) { if (x as Boolean) { - x.not() + x.not() select(x).not() } } @@ -97,7 +97,7 @@ fun case_10(x: Any?) { */ fun case_11(x: Any?) { if ((x as Boolean?)!!) { - x.not() + x.not() select(x).not() } } @@ -109,7 +109,7 @@ fun case_11(x: Any?) { */ fun case_12(x: Any?) { if (x!! as Boolean?) { - x.not() + x.not() select(x).not() } } @@ -121,7 +121,7 @@ fun case_12(x: Any?) { */ fun case_13(x: Any?) { if (x as Boolean? ?: x!!) { - x.not() + x.not() select(x).not() } } @@ -136,7 +136,7 @@ fun case_14(x: Any?) { x x?.equals(10) x!!.equals(10) - x.equals(10) + x.equals(10) } } @@ -150,7 +150,7 @@ fun case_15(x: Any?) { x x?.equals(10) x!!.equals(10) - x.equals(10) + x.equals(10) } } @@ -163,5 +163,5 @@ fun case_16(x: Nothing?) { x x?.equals(10) x!!.equals(10) - x.equals(10) + x.equals(10) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/41.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/41.fir.kt index 5ff72bfa270..6533aebbcb4 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/41.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/41.fir.kt @@ -9,10 +9,10 @@ fun case_1(x: Any) { if (x is Interface1) { if (x is Interface2) { - x - x.itest() - x.itest1() - x.itest2() + x + x.itest() + x.itest1() + x.itest2() } } } @@ -24,8 +24,8 @@ fun case_1(x: Any) { fun case_2(x: Any) { if (x is Interface2) { if (x is Interface1) { - x - x.itest0() + x + x.itest0() } } } @@ -37,8 +37,8 @@ fun case_2(x: Any) { fun case_3(x: Any) { if (x is Interface1) { if (x is Interface2) { - x - x.itest000() + x + x.itest000() } } } @@ -50,8 +50,8 @@ fun case_3(x: Any) { fun case_4(x: Any) { if (x is Interface2) { if (x is Interface1) { - x - x.itest0000() + x + x.itest0000() } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/42.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/42.fir.kt index 687d6a252fd..95b720d3919 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/42.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/42.fir.kt @@ -14,8 +14,8 @@ fun case_1() { val x: Int? x = 10 } - x - x.equals(10) + x + x.equals(10) } /* @@ -30,8 +30,8 @@ fun case_2() { var x: Int? = 10 x = 10 } - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 3 @@ -41,6 +41,6 @@ fun case_3() { val y = { var x: Int? = 10 } - x - x.equals(10) + x + x.equals(10) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/43.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/43.fir.kt index 066d1299019..7a6dc84293a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/43.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/43.fir.kt @@ -11,9 +11,9 @@ fun case_1(a: Interface1?, b: Interface2?) { a as Interface2? val c = select(a, b) if (c != null) { - c.itest() - c.itest1() - c.itest2() + c.itest() + c.itest1() + c.itest2() } } @@ -90,9 +90,9 @@ fun case_6(a: Interface1?, b: Interface2?) { val c = select(a, b) c ?: return - c.itest() - c.itest1() - c.itest2() + c.itest() + c.itest1() + c.itest2() } /* @@ -107,9 +107,9 @@ fun case_7(a: Interface1?, b: Interface2?) { val bar = l2@ fun() { val c = select(a, b) c ?: return@l2 - c.itest() - c.itest1() - c.itest2() + c.itest() + c.itest1() + c.itest2() } return bar } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/44.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/44.fir.kt index 7535afb3fb3..04581dc3f46 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/44.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/44.fir.kt @@ -10,8 +10,8 @@ fun Int?.case_1() { val x = this if (x != null) { - this - this.inv() + this + this.inv() } } @@ -23,8 +23,8 @@ fun Int?.case_1() { fun Int?.case_2() { val x = this if (this != null) { - x - x.inv() + x + x.inv() } } @@ -36,8 +36,8 @@ fun Int?.case_2() { fun Int?.case_3() { val x = this this!! - x - x.inv() + x + x.inv() } /* @@ -48,6 +48,6 @@ fun Int?.case_3() { fun Int?.case_4() { val x = this x!! - this - this.inv() + this + this.inv() } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/45.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/45.fir.kt index cf471ff4ad1..eddc8c93038 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/45.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/45.fir.kt @@ -12,8 +12,8 @@ fun case_1() { val y: Int? y = x if (y != null) { - x - x.inv() + x + x.inv() } } @@ -27,8 +27,8 @@ fun case_2() { val y: Int? y = x y!! - x - x.inv() + x + x.inv() } /* @@ -41,8 +41,8 @@ fun case_3() { val y: Int? y = x y!! - x - x.inv() + x + x.inv() } /* @@ -55,8 +55,8 @@ fun case_4() { var y: Int? y = x if (y != null) { - x - x.inv() + x + x.inv() } } @@ -66,8 +66,8 @@ fun case_5() { val y: Int? x = 10;y = x if (y != null) { - x - x.inv() + x + x.inv() } } @@ -77,8 +77,8 @@ fun case_6() { val y: Int? x = 10;y = x if (y != null) { - x - x.inv() + x + x.inv() } } @@ -88,8 +88,8 @@ fun case_7() { var y: Int? x = 10;y = x if (y != null) { - x - x.inv() + x + x.inv() } } @@ -99,7 +99,7 @@ fun case_8() { var y: Int? x = 10;y = x if (y != null) { - x - x.inv() + x + x.inv() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/46.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/46.fir.kt index 002be3a9d40..e9bf1c14270 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/46.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/46.fir.kt @@ -37,8 +37,8 @@ fun case_2(x: Int?) { */ fun case_3(x: Int?) { if (x == funWithoutArgs() == true) { - x - x.inv() + x + x.inv() } } @@ -108,7 +108,7 @@ fun case_7(x: Int?) { */ fun case_8(x: KClass?) { if (x == EmptyObject::class == true) { - & kotlin.reflect.KClass?")!>x - & kotlin.reflect.KClass?")!>x.java + ? & kotlin.reflect.KClass")!>x + ? & kotlin.reflect.KClass")!>x.java } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/47.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/47.fir.kt index cec39be3dbd..a828ccd41c3 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/47.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/47.fir.kt @@ -9,8 +9,8 @@ fun case_1(a: Any?) { if (true) break } - a - a.equals(10) + a + a.equals(10) } /* @@ -23,8 +23,8 @@ fun case_2(a: Any?) { if (true) break } - a - a.equals(10) + a + a.equals(10) } // TESTCASE NUMBER: 3 @@ -34,8 +34,8 @@ fun case_3(a: Any?) { if (true) break } - a - a.equals(10) + a + a.equals(10) } // TESTCASE NUMBER: 4 @@ -45,8 +45,8 @@ fun case_4(a: Any?) { break } - a - a.equals(10) + a + a.equals(10) } // TESTCASE NUMBER: 5 @@ -56,8 +56,8 @@ fun case_5(a: Any?) { if (true) break } - a - a.equals(10) + a + a.equals(10) } // TESTCASE NUMBER: 6 @@ -67,6 +67,6 @@ fun case_6(a: Any?) { break } - a - a.equals(10) + a + a.equals(10) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/48.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/48.fir.kt index e94a1a98baf..350c26fadb8 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/48.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/48.fir.kt @@ -9,10 +9,10 @@ */ fun case_1(x: Any?, y: Any?) { if (x!! === y) { - x - x.equals(10) - y - y.equals(10) + x + x.equals(10) + y + y.equals(10) } } @@ -23,10 +23,10 @@ fun case_1(x: Any?, y: Any?) { */ fun case_2(x: Any?, y: Any?) { if (x as Int === y) { - x - x.inv(10) - y - y.inv(10) + x + x.inv(10) + y + y.inv(10) } } @@ -37,10 +37,10 @@ fun case_2(x: Any?, y: Any?) { */ fun case_3(x: Any?, y: Any?) { if (y === x!!) { - x - x.equals(10) - y - y.equals(10) + x + x.equals(10) + y + y.equals(10) } } @@ -51,9 +51,9 @@ fun case_3(x: Any?, y: Any?) { */ fun case_4(x: Any?, y: Any?) { if (y === x as Int) { - x - x.inv(10) - y - y.inv(10) + x + x.inv(10) + y + y.inv(10) } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/49.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/49.fir.kt index d7703419e5c..31a712b525e 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/49.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/49.fir.kt @@ -9,8 +9,8 @@ */ fun case_1(x: Any?) { if (x is Int == @RetentionSourceAndTargetExpression true) { - x - x.inv() + x + x.inv() } } @@ -21,8 +21,8 @@ fun case_1(x: Any?) { */ fun case_2(x: Int?) { if (x != @RetentionSourceAndTargetExpression null == true) { - x - x.inv() + x + x.inv() } } @@ -33,8 +33,8 @@ fun case_2(x: Int?) { */ fun case_3(x: Int?, y: Int) { if (x == y == @RetentionSourceAndTargetExpression true) { - x - x.inv() + x + x.inv() } } @@ -45,7 +45,7 @@ fun case_3(x: Int?, y: Int) { */ fun case_4(x: Int?, y: Int) { if (@RetentionSourceAndTargetExpression !!(x == y)) { - x - x.inv() + x + x.inv() } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/5.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/5.fir.kt index fe826fa59ae..84b0a273a07 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/5.fir.kt @@ -7,16 +7,16 @@ fun case_1(x: Any?) { if (x is Number?) { if (x !== null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -24,16 +24,16 @@ fun case_1(x: Any?) { // TESTCASE NUMBER: 2 fun case_2(x: Any?) { if (x is Number? && x is Int? && x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -42,16 +42,16 @@ fun case_3(x: Any?) { if (x is Number?) { if (x !== null) { if (x is Int?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -62,16 +62,16 @@ fun case_4(x: Any?) { if (x != null) { if (x is Number) { if (x is Int?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -85,21 +85,21 @@ fun case_5(x: Any?) { if (x is ClassLevel4?) { if (x is ClassLevel5?) { if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test1() - x.test2() - x.test3() - x.test4() - x.test5() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test1() + x.test2() + x.test3() + x.test4() + x.test5() } } } @@ -115,21 +115,21 @@ fun case_6(x: Any?) { if (x is ClassLevel3?) { if (x != null && x is ClassLevel4?) { if (x is ClassLevel5?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test1() - x.test2() - x.test3() - x.test4() - x.test5() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test1() + x.test2() + x.test3() + x.test4() + x.test5() } } } @@ -141,21 +141,21 @@ fun case_6(x: Any?) { fun case_7(x: Any?) { if (x is ClassLevel1? && x is ClassLevel2? && x is ClassLevel3?) { if (x is ClassLevel4? && x != null && x is ClassLevel5?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test1() - x.test2() - x.test3() - x.test4() - x.test5() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test1() + x.test2() + x.test3() + x.test4() + x.test5() } } } @@ -164,21 +164,21 @@ fun case_7(x: Any?) { fun case_8(x: Any?) { if (x is ClassLevel1? && x is ClassLevel2? && x is ClassLevel3?) { if (x is ClassLevel4? && x != null && x is ClassLevel5?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test1() - x.test2() - x.test3() - x.test4() - x.test5() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test1() + x.test2() + x.test3() + x.test4() + x.test5() } } } @@ -186,21 +186,21 @@ fun case_8(x: Any?) { // TESTCASE NUMBER: 9 fun case_9(x: Any?) { if (x is ClassLevel1? && x is ClassLevel2? && x is ClassLevel3? && x is ClassLevel4? && x != null && x is ClassLevel5?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test1() - x.test2() - x.test3() - x.test4() - x.test5() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test1() + x.test2() + x.test3() + x.test4() + x.test5() } } @@ -210,38 +210,38 @@ fun case_10(x: Any?) { if (x is ClassLevel4?) { } else if (x is ClassLevel5? && x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test1() - x.test2() - x.test3() - x.test4() - x.test5() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test1() + x.test2() + x.test3() + x.test4() + x.test5() } } else if (x is ClassLevel4? && x != null && x is ClassLevel5?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x.test1() - x.test2() - x.test3() - x.test4() - x.test5() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x.test1() + x.test2() + x.test3() + x.test4() + x.test5() } } @@ -255,11 +255,11 @@ fun case_11(x: Any?) { if (x is Interface1?) { if (x is Interface2?) { if (x != null) { - x - x.itest1() - x.itest2() + x + x.itest1() + x.itest2() - x.let { it.itest1(); it.itest2() } + x.let { it.itest1(); it.itest2() } } } } @@ -273,11 +273,11 @@ fun case_11(x: Any?) { */ fun case_12(x: Any?) { if (x is Interface1? && x != null && x is Interface2?) { - x - x.itest1() - x.itest2() + x + x.itest1() + x.itest2() - x.let { it.itest1(); it.itest2() } + x.let { it.itest1(); it.itest2() } } } @@ -293,12 +293,12 @@ fun case_13(x: Any?) { if (x is ClassLevel2? && x is Interface1?) { if (x !is Interface3?) {} else if (false) { if (x != null) { - x - x.itest1() - x.itest2() - x.itest3() - x.test1() - x.test2() + x + x.itest1() + x.itest2() + x.itest3() + x.test1() + x.test2() } } } @@ -318,12 +318,12 @@ fun case_14(x: Any?) { if (x == null || x !is Interface1?) else { if (x is ClassLevel2?) { if (x is Interface3?) { - x - x.itest1() - x.itest2() - x.itest3() - x.test1() - x.test2() + x + x.itest1() + x.itest2() + x.itest3() + x.test1() + x.test2() } } } @@ -341,19 +341,19 @@ fun case_15(x: Any?) { if (x !is ClassLevel2? || x !is ClassLevel1?) else { if (x === null || x !is Interface1?) else { if (x !is Interface2? || x !is Interface3?) {} else { - x - x.itest2() - x.itest1() - x.itest3() - x.test1() - x.test2() + x + x.itest2() + x.itest1() + x.itest3() + x.test1() + x.test2() } } } } // TESTCASE NUMBER: 16 -fun case_16(a: Any?, b: Int = if (a is Number? && a is Int? && a !== null) a else 0) { +fun case_16(a: Any?, b: Int = if (a is Number? && a is Int? && a !== null) a else 0) { a b b.equals(null) @@ -368,7 +368,7 @@ fun case_16(a: Any?, b: Int = if (a is Number? && a is Int? && a !== null) a) { +fun case_17(a: Any?, b: Int = if (a !is Number? || a !is Int? || a == null) 0 else a) { a b b.equals(null) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/50.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/50.fir.kt index 033dd38d297..d7a2dde3c16 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/50.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/50.fir.kt @@ -5,9 +5,9 @@ // TESTCASE NUMBER: 1 fun Any.case_1() { if (this is Inv<*>) { - & kotlin.Any")!>this.test() - & kotlin.Any")!>this.prop_4 - & kotlin.Any")!>this.prop_4.inv() + ")!>this.test() + ")!>this.prop_4 + ")!>this.prop_4.inv() prop_4 prop_4.inv() } @@ -16,9 +16,9 @@ fun Any.case_1() { // TESTCASE NUMBER: 2 fun Any.case_2() { if (this is ClassWithSixTypeParameters<*, *, *, *, *, *>) { - & kotlin.Any")!>this.test() - & kotlin.Any")!>this.x - & kotlin.Any")!>this.y + ")!>this.test() + ")!>this.x + ")!>this.y x y } @@ -27,9 +27,9 @@ fun Any.case_2() { // TESTCASE NUMBER: 3 fun T.case_3() { if (this is Inv<*>) { - & T!! & T")!>this.test() - & T!! & T")!>this.prop_4 - & T!! & T")!>this.prop_4.inv() + & T!!")!>this.test() + & T!!")!>this.prop_4 + & T!!")!>this.prop_4.inv() prop_4 prop_4.inv() } @@ -38,9 +38,9 @@ fun T.case_3() { // TESTCASE NUMBER: 4 fun T?.case_4() { if (this is ClassWithSixTypeParameters<*, *, *, *, *, *>) { - & T?!! & T?")!>this.test() - & T?!! & T?")!>this.x - & T?!! & T?")!>this.y + & T?!!")!>this.test() + & T?!!")!>this.x + & T?!!")!>this.y x y } @@ -49,11 +49,11 @@ fun T?.case_4() { // TESTCASE NUMBER: 5 fun ClassWithSixTypeParameters.case_5() { if (this is InterfaceWithFiveTypeParameters1<*, *, *, *, *>) { - & ClassWithSixTypeParameters & ClassWithSixTypeParameters")!>this.itest1() + & InterfaceWithFiveTypeParameters1<*, *, *, *, *> & ClassWithSixTypeParameters")!>this.itest1() itest1() - & ClassWithSixTypeParameters & ClassWithSixTypeParameters")!>this.test() - & ClassWithSixTypeParameters & ClassWithSixTypeParameters")!>this.x - & ClassWithSixTypeParameters & ClassWithSixTypeParameters")!>this.y + & InterfaceWithFiveTypeParameters1<*, *, *, *, *> & ClassWithSixTypeParameters")!>this.test() + & InterfaceWithFiveTypeParameters1<*, *, *, *, *> & ClassWithSixTypeParameters")!>this.x + & InterfaceWithFiveTypeParameters1<*, *, *, *, *> & ClassWithSixTypeParameters")!>this.y x y } @@ -78,8 +78,8 @@ fun Inv.case_7() { if (this.prop_3 is MutableList<*>) { this.prop_3 this.prop_3[0] - & T!! & T")!>prop_3 - & T!! & T")!>prop_3[0] + & T!!")!>prop_3 + & T!!")!>prop_3[0] } } @@ -98,8 +98,8 @@ fun T.case_8() { */ fun T.case_9() { if (this is String) { - this - this.length + this + this.length length } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/51.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/51.fir.kt index b45c9f2272e..f896873e262 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/51.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/51.fir.kt @@ -6,7 +6,7 @@ fun case_1(x: Any?) { val y = run { if (x is Class) - return@run x + return@run x Class() } y @@ -17,7 +17,7 @@ fun case_1(x: Any?) { fun case_2(x: Class?) { val y = run { x!! - return@run x + return@run x } y y.fun_1() diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/53.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/53.fir.kt index 62fe5e84f83..501fe32d597 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/53.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/53.fir.kt @@ -8,7 +8,7 @@ fun case_1(x: Int?) = 10 fun case_1() { var x: Int? = 10 if (x != null) { - val z = case_1(x) + val z = case_1(x) z } } @@ -20,7 +20,7 @@ fun case_2() { var x: Int? = 10 var y = { x = null } if (x != null) { - val z = case_2(x) + val z = case_2(x) z } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/54.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/54.fir.kt index 6f4aaf0c91d..3d2ce654e6e 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/54.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/54.fir.kt @@ -11,12 +11,12 @@ fun case_1() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length while (a is String) { b = a - b - b.length + b + b.length } b @@ -33,12 +33,12 @@ fun case_2() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length while (true) { b = a - b - b.length + b + b.length } b @@ -55,16 +55,16 @@ fun case_3() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length do { b = a - b - b.length + b + b.length } while (true) - b - b.length + b + b.length } } @@ -77,16 +77,16 @@ fun case_4() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length do { b = a - b - b.length + b + b.length } while (false) - b - b.length + b + b.length } } @@ -99,12 +99,12 @@ fun case_5() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length for (i in 0..10) { b = a - b - b.length + b + b.length } b @@ -117,16 +117,16 @@ fun case_6() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length if (a is String) { b = a - b - b.length + b + b.length } - b - b.length + b + b.length } } @@ -135,14 +135,14 @@ fun case_7() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length when (true) { true -> b = a } - b - b.length + b + b.length } } @@ -155,16 +155,16 @@ fun case_8() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length try { b = a - b - b.length + b + b.length } catch (e: Exception) { } - b - b.length + b + b.length } } @@ -173,18 +173,18 @@ fun case_9() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length try { } catch (e: Exception) { b = a - b - b.length + b + b.length } - b - b.length + b + b.length } } @@ -193,18 +193,18 @@ fun case_10() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length try { b = a - b - b.length + b + b.length } finally { } - b - b.length + b + b.length } } @@ -213,18 +213,18 @@ fun case_11() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length try { } finally { b = a - b - b.length + b + b.length } - b - b.length + b + b.length } } @@ -237,8 +237,8 @@ fun case_12() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length while (if (true) { b = a; true } else true) { b b.length @@ -254,12 +254,12 @@ fun case_13() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length a.plus(if (true) { b = a; true } else true) - b - b.length + b + b.length } } @@ -272,8 +272,8 @@ fun case_14() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length while (true) { if (true) { b = a; } else 3 b @@ -287,12 +287,12 @@ fun case_15() { var a: Any = 4 if (a is String) { var b = a - b - b.length + b + b.length while (true) { if (true) { b = a; } else { b = a; } - b - b.length + b + b.length } } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/55.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/55.fir.kt index 3a08d52de94..00304fc6200 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/55.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/55.fir.kt @@ -9,7 +9,7 @@ fun case_1(x: Any) { if (x is String) { x!!.length - x + x } } @@ -20,7 +20,7 @@ fun case_1(x: Any) { fun case_2(x: Any?) { if (x is String?) { x!!.length - x + x } } @@ -31,7 +31,7 @@ fun case_2(x: Any?) { fun case_3(x: Any) { if (x is Map.Entry<*, *>) { ")!>x!!.key - & kotlin.Any")!>x + ")!>x } } @@ -42,6 +42,6 @@ fun case_3(x: Any) { fun case_4(x: Any?) { if (x is Map.Entry<*, *>?) { ")!>x!!.value - & kotlin.Any?")!>x + ")!>x } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/57.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/57.fir.kt index 887757f5a7e..be9cc1ac040 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/57.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/57.fir.kt @@ -8,9 +8,9 @@ */ fun case_1(x: Any?) { if (x is String) { - x + x val y = if (true) Class::fun_1 else Class::fun_1 - x + x val z: String = x } } @@ -21,13 +21,13 @@ fun case_1(x: Any?) { */ fun case_2(x: Any?, b: Boolean?) { x!! - x + x val y = when (b) { true -> Class::fun_1 false -> Class::fun_2 null -> Class::fun_3 } - x + x val z: Any = x } @@ -37,22 +37,22 @@ fun case_2(x: Any?, b: Boolean?) { */ fun case_3(x: Any?, b: Boolean?) { x as Int - x + x val y = when (b) { else -> Class::fun_1 } - x + x val z: Int = x } // TESTCASE NUMBER: 4 fun case_4(x: Any?, b: Boolean?) { x as Int - x + x if (b!!) { val m = Class::fun_1 } - x + x val z: Int = x } @@ -62,9 +62,9 @@ fun case_4(x: Any?, b: Boolean?) { */ fun case_5(x: Any?, b: Class) { x as Int - x + x val y = if (true) b::fun_1 else b::fun_1 - x + x val z: Int = x } @@ -75,10 +75,10 @@ fun case_5(x: Any?, b: Class) { fun case_6(x: Any?, b: Class) { x as Int val z1 = x - x + x val y = if (true) b::fun_1 else b::fun_1 - x - z1 + x + z1 val z2: Int = z1 } @@ -89,9 +89,9 @@ fun case_6(x: Any?, b: Class) { fun case_7_1() {} fun case_7(x: Any?) { if (x is String) { - x + x val y = if (true) ::case_7_1 else ::case_7_1 - x + x val z: String = x } } @@ -100,13 +100,13 @@ fun case_7(x: Any?) { fun case_8_1() {} fun case_8(x: Any?) { if (x is String) { - x + x val m = try { ::case_8_1 } catch (e: Exception) { ::case_8_1 } - x + x val z: String = x } } @@ -114,13 +114,13 @@ fun case_8(x: Any?) { // TESTCASE NUMBER: 9 fun case_9(x: Any?) { if (x is String) { - x + x val m = try { Class::fun_1 } finally { Class::fun_1 } - x + x val z: String = x } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/59.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/59.fir.kt index 794488afdde..c781c9b3103 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/59.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/59.fir.kt @@ -34,7 +34,7 @@ fun case_2() { fun case_3() { var x: Any? = null while (x != null) { - x + x x = x.equals(10) } } @@ -43,7 +43,7 @@ fun case_3() { fun case_4() { var x: Any? = null while (x !== null) { - x + x x = x.equals(10) } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/6.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/6.fir.kt index df90a41a8e8..8afba637062 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/6.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/6.fir.kt @@ -282,16 +282,16 @@ fun case_14() { fun case_15(x: TypealiasNullableString) { val y = null val z = if (x === null || y == x && x === y || null === x) "" else { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -651,7 +651,7 @@ fun case_33(a: ((Float) -> Int?)?, b: Float?, c: Boolean?) { if (true && a == z == true || b == null == true) { } else { - val x = a(b) + val x = a(b) if (x == z == true && x === z || (c != z && !c)) { } else { @@ -1066,16 +1066,16 @@ fun case_60(b: Boolean) { fun case_61(x: Any?) { if (x is Number?) { if (x !== implicitNullableNothingProperty) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -1084,16 +1084,16 @@ fun case_61(x: Any?) { fun case_62(x: Any?) { var z = null if (x is Number? && x is Int? && x != z) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -1106,16 +1106,16 @@ fun case_63(x: Any?, b: Boolean) { if (x is Number?) { if (x !== when (b) { true -> z1; false -> z2; else -> z3 }) { if (x is Int?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -1126,16 +1126,16 @@ fun case_64(x: Any?) { if (x != try {implicitNullableNothingProperty} finally {}) { if (x is Number) { if (x is Int?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -1149,16 +1149,16 @@ fun case_65(x: Any?, z: Nothing?) { if (x is ClassLevel4?) { if (x is ClassLevel5?) { if (x != z) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -1177,16 +1177,16 @@ fun case_66(x: Any?, z1: Nothing?, z2: Nothing?, b: Boolean) { if (x is ClassLevel3?) { if (x != if (b) { z1 } else { z2 } && x is ClassLevel4?) { if (x is ClassLevel5?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -1200,16 +1200,16 @@ fun case_67(x: Any?) { if (x is ClassLevel1? && x is ClassLevel2? && x is ClassLevel3?) { if (x is ClassLevel4? && x != (fun (): Nothing? { return z })() && x is ClassLevel5?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -1218,16 +1218,16 @@ fun case_67(x: Any?) { fun case_68(x: Any?, z: Nothing?) { if (x is ClassLevel1? && x is ClassLevel2? && x is ClassLevel3?) { if (x is ClassLevel4? && x != (fun (): Nothing? { return z })() && x is ClassLevel5?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -1238,16 +1238,16 @@ fun case_68(x: Any?, z: Nothing?) { */ fun case_69(x: Any?, z: Nothing?) { if (x is ClassLevel1? && x is ClassLevel2? && x is ClassLevel3? && x is ClassLevel4? && x != try { z } catch (e: Exception) { z } && x is ClassLevel5?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -1257,28 +1257,28 @@ fun case_70(x: Any?) { if (x is ClassLevel4?) { } else if (x is ClassLevel5? && x != nullableNothingProperty || x != implicitNullableNothingProperty) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } else if (x is ClassLevel4? && x !== nullableNothingProperty && x is ClassLevel5?) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -1295,12 +1295,12 @@ fun case_71(t: Any?) { if (t is Interface1?) { if (t is Interface2?) { if (t != z2) { - t - t.itest1() - t.itest2() - t.itest() + t + t.itest1() + t.itest2() + t.itest() - t.let { it.itest1(); it.itest2() } + t.let { it.itest1(); it.itest2() } } } } @@ -1317,12 +1317,12 @@ fun case_72(t: Any?, z1: Nothing?) { var z2 = null if (t is Interface1? && t != z1 ?: z2 && t is Interface2?) { - t - t.itest1() - t.itest2() - t.itest() + t + t.itest1() + t.itest2() + t.itest() - t.let { it.itest1(); it.itest2() } + t.let { it.itest1(); it.itest2() } } } @@ -1341,12 +1341,12 @@ fun case_73(t: Any?) { if (t is ClassLevel2? && t is Interface1?) { if (t !is Interface3?) {} else if (false) { if (t != `null`) { - t.itest2() - t.itest1() - t.itest() - t.test1() - t.test2() - t + t.itest2() + t.itest1() + t.itest() + t.test1() + t.test2() + t } } } @@ -1366,12 +1366,12 @@ fun case_74(t: Any?) { if (t == implicitNullableNothingProperty || t === implicitNullableNothingProperty || t !is Interface1?) else { if (t is ClassLevel2?) { if (t is Interface3?) { - t.itest2() - t.itest1() - t.itest() - t.test1() - t.test2() - t + t.itest2() + t.itest1() + t.itest() + t.test1() + t.test2() + t } } } @@ -1389,19 +1389,19 @@ fun case_75(t: Any?, z: Nothing?) { if (t !is ClassLevel2? || t !is ClassLevel1?) else { if (t === ((((((z)))))) || t !is Interface1?) else { if (t !is Interface2? || t !is Interface3?) {} else { - t.itest2() - t.itest1() - t.itest() - t.test1() - t.test2() - t + t.itest2() + t.itest1() + t.itest() + t.test1() + t.test2() + t } } } } // TESTCASE NUMBER: 76 -fun case_76(a: Any?, b: Int = if (a !is Number? === true || a !is Int? == true || a != null == false == true) 0 else a) { +fun case_76(a: Any?, b: Int = if (a !is Number? === true || a !is Int? == true || a != null == false == true) 0 else a) { a b b.equals(null) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/60.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/60.fir.kt index b65a81990b3..f43dabe635c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/60.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/60.fir.kt @@ -10,7 +10,7 @@ fun case_1() { inner@ do { x = null } while (x == null) - x - x.length + x + x.length } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/61.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/61.fir.kt index 005379fe2c6..845ade6e46a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/61.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/61.fir.kt @@ -11,8 +11,8 @@ class Case1 { init { var y: String? = "xyz" if (y != null) { - y - y.length + y + y.length } } constructor() @@ -23,8 +23,8 @@ class Case2 { init { var y: String? = "xyz" if (y != null) { - y - y.length + y + y.length } } } @@ -34,8 +34,8 @@ class Case3 { init { var y: String? = "xyz" if (y != null) { - y - y.length + y + y.length } } init { } @@ -50,8 +50,8 @@ class Case4 { init { var y: String? = "xyz" if (y != null) { - y - y.length + y + y.length } } constructor(y: Int?) { @@ -64,8 +64,8 @@ class Case5() { init { var y: String? = "xyz" if (y != null) { - y - y.length + y + y.length } } constructor(y: Int?) : this() { @@ -78,8 +78,8 @@ class Case6() { init { var y: String? = "xyz" if (y != null) { - y - y.length + y + y.length } } } @@ -89,8 +89,8 @@ class Case7() { init { var y: String? = "xyz" if (y != null) { - y - y.length + y + y.length } } constructor(y: Int?) : this() { @@ -110,8 +110,8 @@ class Case8 { init { var y: String? = "xyz" y!! - y - y.length + y + y.length } constructor() } @@ -125,8 +125,8 @@ class Case9 { init { var y: String? = "xyz" if (y == null) throw Exception() - y - y.length + y + y.length } constructor() } @@ -140,8 +140,8 @@ class Case10 { init { var y: String? = "xyz" y ?: throw Exception() - y - y.length + y + y.length } constructor() } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/63.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/63.fir.kt index eeb2b8b04c0..2a7943a7a4a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/63.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/63.fir.kt @@ -11,8 +11,8 @@ fun case_1(x: String?) { when { x == null -> return } - x - x.length + x + x.length } // TESTCASE NUMBER: 2 @@ -21,8 +21,8 @@ fun case_2(x: String?) { x == null -> return else -> println(1) } - x - x.length + x + x.length } /* @@ -34,8 +34,8 @@ fun case_3(x: String?) { when (x) { null -> return } - x - x.length + x + x.length } // TESTCASE NUMBER: 4 @@ -44,8 +44,8 @@ fun case_4(x: String?) { null -> return else -> println(1) } - x - x.length + x + x.length } // TESTCASE NUMBER: 5 @@ -54,8 +54,8 @@ fun case_5(x: String?) { null -> throw Exception() else -> println(1) } - x - x.length + x + x.length } /* @@ -67,6 +67,6 @@ fun case_6(x: String?) { when (x) { null -> throw Exception() } - x - x.length + x + x.length } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/64.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/64.fir.kt index 21ed46acb38..d2e5de161c9 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/64.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/64.fir.kt @@ -31,8 +31,8 @@ class Case2 { if (x == null) { x = getInt() } - x - x.equals(10) + x + x.equals(10) return x } } @@ -49,7 +49,7 @@ class Case3 { fun get(): T { var x = getTN() x = x ?: getT() - x + x return x } } @@ -62,8 +62,8 @@ class Case4 { fun get(): Int { var x = getIntN() x = x ?: getInt() - x - x.equals(10) + x + x.equals(10) return x } } @@ -76,7 +76,7 @@ class Case5 { fun get(): T { var x = getTN() x = if (x == null) getT() else x - x + x return x } } @@ -89,8 +89,8 @@ class Case6 { fun get(): Int { var x = getIntN() x = if (x == null) getInt() else x - x - x.equals(10) + x + x.equals(10) return x } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/65.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/65.fir.kt index f45741f0723..8eddc40995f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/65.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/65.fir.kt @@ -12,8 +12,8 @@ fun case_1(x: Class) { // TESTCASE NUMBER: 2 fun case_2(x: Any?) { if (x !is String) return - x - x.length + x + x.length } // TESTCASE NUMBER: 3 @@ -26,8 +26,8 @@ fun case_3(x: Class) { // TESTCASE NUMBER: 4 fun case_4(x: Any?) { if (x !is String) throw Exception() - x - x.length + x + x.length } // TESTCASE NUMBER: 5 @@ -40,22 +40,22 @@ fun case_5(x: Class) { // TESTCASE NUMBER: 6 fun case_6(x: Any?) { if (x !is String?) throw Exception() - x - x?.length + x + x?.length } // TESTCASE NUMBER: 7 fun case_7(x: Any?) { if (x !is Pair<*, *>) throw Exception() - & kotlin.Any?")!>x - & kotlin.Any?")!>x.first + ")!>x + ")!>x.first } // TESTCASE NUMBER: 8 fun case_8(x: Any?) { if (x !is Pair<*, *>?) return - ? & kotlin.Any?")!>x - ? & kotlin.Any?")!>x?.first + ?")!>x + ?")!>x?.first } // TESTCASE NUMBER: 9 @@ -63,12 +63,12 @@ fun case_9(x: Any?) { when (x) { !is Pair<*, *> -> throw Exception() else -> { - & kotlin.Any?")!>x - & kotlin.Any?")!>x.first + ")!>x + ")!>x.first } } - & kotlin.Any?")!>x - & kotlin.Any?")!>x.first + ")!>x + ")!>x.first } // TESTCASE NUMBER: 10 @@ -76,12 +76,12 @@ fun case_10(x: Any?) { when (x) { !is Pair<*, *>? -> return else -> { - ? & kotlin.Any?")!>x - ? & kotlin.Any?")!>x?.first + ?")!>x + ?")!>x?.first } } - ? & kotlin.Any?")!>x - ? & kotlin.Any?")!>x?.first + ?")!>x + ?")!>x?.first } // TESTCASE NUMBER: 11 @@ -89,12 +89,12 @@ fun case_11(x: Any?) { when { x !is Pair<*, *> -> throw Exception() else -> { - & kotlin.Any?")!>x - & kotlin.Any?")!>x.first + ")!>x + ")!>x.first } } - & kotlin.Any?")!>x - & kotlin.Any?")!>x.first + ")!>x + ")!>x.first } // TESTCASE NUMBER: 12 @@ -102,10 +102,10 @@ fun case_12(x: Any?) { when { x !is Pair<*, *>? -> return else -> { - ? & kotlin.Any?")!>x - ? & kotlin.Any?")!>x?.first + ?")!>x + ?")!>x?.first } } - ? & kotlin.Any?")!>x - ? & kotlin.Any?")!>x?.first + ?")!>x + ?")!>x?.first } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/66.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/66.fir.kt index 1b28a337f52..09ba8fc695b 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/66.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/66.fir.kt @@ -9,8 +9,8 @@ */ fun case_1(x: Any?) { if (x !is Nothing?) { - x - x.equals(10) + x + x.equals(10) } } @@ -61,13 +61,13 @@ fun case_4(x: Pair<*, *>?) { fun case_5(x: Pair<*, *>?) { when (x) { !is Nothing? -> { - & kotlin.Pair<*, *>?")!>x - & kotlin.Pair<*, *>?")!>x.equals(10) + ? & kotlin.Pair<*, *>")!>x + ? & kotlin.Pair<*, *>")!>x.equals(10) } else -> return } - & kotlin.Pair<*, *>?")!>x - & kotlin.Pair<*, *>?")!>x.equals(10) + ? & kotlin.Pair<*, *>")!>x + ? & kotlin.Pair<*, *>")!>x.equals(10) } /* diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/67.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/67.fir.kt index e54696ae2ea..2c9c1cf71b6 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/67.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/67.fir.kt @@ -6,35 +6,35 @@ fun case_1(x: Any?) { when (x) { is Any -> { - x - x.equals(10) + x + x.equals(10) } else -> return } - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 2 inline fun case_2(x: Any?) { when (x) { is T -> { - x - x.equals(10) + x + x.equals(10) } else -> return } - x - x.equals(10) + x + x.equals(10) } // TESTCASE NUMBER: 3 inline fun case_3(x: Any?) { if (x is T) { - x - x.equals(10) + x + x.equals(10) } else throw Exception() - x - x.equals(10) + x + x.equals(10) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/68.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/68.fir.kt index a56cc5ccb1d..5256453fa6f 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/68.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/68.fir.kt @@ -5,61 +5,61 @@ // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x!! is Int) { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 2 fun case_2(x: Any?) { (x as Nothing?)!! - x - x.inv() + x + x.inv() } // TESTCASE NUMBER: 3 fun case_3(x: Any?) { if (x as Number? is Int) { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 4 fun case_4(x: Any?) { if (x as Class? is Class) { - x - x.prop_1 + x + x.prop_1 } } // TESTCASE NUMBER: 5 fun case_5(x: Any?) { if (x as Nothing? is Nothing) { - x - x.inv() + x + x.inv() } } // TESTCASE NUMBER: 6 fun case_6(x: Any?) { (x as String?)!! - x - x.length + x + x.length } // TESTCASE NUMBER: 7 fun case_7(x: Any?) { if (x as String? != null) { - x - x.length + x + x.length } } // TESTCASE NUMBER: 8 fun case_8(x: Any?) { if (x as String? == null) { - x - x.length + x + x.length } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/69.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/69.fir.kt index 491a877b8cd..24ad68a1d8d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/69.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/69.fir.kt @@ -5,31 +5,31 @@ // TESTCASE NUMBER: 1 fun test1(x: ClassLevel1?) { if (x!! is ClassLevel2) { - x - x.test2() + x + x.test2() } } // TESTCASE NUMBER: 2 fun case_2(x: Any?) { (x as ClassLevel1?)!! - x - x.test1() + x + x.test1() } // TESTCASE NUMBER: 3 fun case_3(x: Any?) { if (x as ClassLevel1? is ClassLevel1) { - x - x.test1() + x + x.test1() } } // TESTCASE NUMBER: 4 fun case_4(x: Any?) { if ((x as Class).prop_8 != null) { - x - x.prop_8.prop_8 + x + x.prop_8.prop_8 } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/7.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/7.fir.kt index 076f229c9ff..76b0c3c5964 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/7.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/7.fir.kt @@ -19,16 +19,16 @@ import orherpackage.* // TESTCASE NUMBER: 1 fun case_1(x: Any?) { if (x != null || x != null || x != null || x != null || x != null || x != null || x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -63,16 +63,16 @@ fun case_3() { // TESTCASE NUMBER: 4 fun case_4(x: Char?) { if (x != null && true || x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -81,16 +81,16 @@ fun case_5() { val x: Unit? = null if (x !== null || x !== null && x !== null || x !== null && x !== null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -116,16 +116,16 @@ fun case_6(x: Class?) { fun case_7() { val x: EmptyObject? = null if (x != null || x != null || x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -151,16 +151,16 @@ fun case_9(x: TypealiasNullableString?) { } else if (x === null || x === null) { } else if (false) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -195,16 +195,16 @@ fun case_11(x: TypealiasNullableString?, y: TypealiasNullableString) { if (y != null || y != null) { if (stringProperty == null && nullableNothingProperty == null) { if (t != null || t != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -215,16 +215,16 @@ fun case_11(x: TypealiasNullableString?, y: TypealiasNullableString) { // TESTCASE NUMBER: 12 fun case_12(x: TypealiasNullableString, y: TypealiasNullableString) = if (x == null) "1" else if (y === null || y === null) { - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x } else "-1" // TESTCASE NUMBER: 13 @@ -232,16 +232,16 @@ fun case_13(x: orherpackage.EmptyClass13?, y: Nothing?) = if (x == null || x === y) { throw Exception() } else { - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x } // TESTCASE NUMBER: 14 @@ -265,16 +265,16 @@ fun case_14() { fun case_15(x: TypealiasString?) { var y = null val t = if (x === null || x == y && x === y) "" else { - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() - x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() + x } } @@ -291,16 +291,16 @@ fun case_16() { // TESTCASE NUMBER: 17 val case_17 = if (nullableIntProperty == null || nullableNothingProperty === nullableIntProperty) 0 else { - nullableIntProperty.equals(null) - nullableIntProperty.propT - nullableIntProperty.propAny - nullableIntProperty.propNullableT - nullableIntProperty.propNullableAny - nullableIntProperty.funT() - nullableIntProperty.funAny() - nullableIntProperty.funNullableT() - nullableIntProperty.funNullableAny() - nullableIntProperty + nullableIntProperty.equals(null) + nullableIntProperty.propT + nullableIntProperty.propAny + nullableIntProperty.propNullableT + nullableIntProperty.propNullableAny + nullableIntProperty.funT() + nullableIntProperty.funAny() + nullableIntProperty.funNullableT() + nullableIntProperty.funNullableAny() + nullableIntProperty } /* @@ -478,16 +478,16 @@ fun case_25(b: Boolean) { val z = ?")!>y() if (z != null) { - & ?")!>z.a - & ?")!>z.equals(null) - & ?")!>z.propT - & ?")!>z.propAny - & ?")!>z.propNullableT - & ?")!>z.propNullableAny - & ?")!>z.funT() - & ?")!>z.funAny() - & ?")!>z.funNullableT() - & ?")!>z.funNullableAny() + ? & ")!>z.a + ? & ")!>z.equals(null) + ? & ")!>z.propT + ? & ")!>z.propAny + ? & ")!>z.propNullableT + ? & ")!>z.propNullableAny + ? & ")!>z.funT() + ? & ")!>z.funAny() + ? & ")!>z.funNullableT() + ? & ")!>z.funNullableAny() } } } @@ -500,16 +500,16 @@ fun case_26(a: ((Float) -> Int?)?, b: Float?) { if (a != null == true && b != null == true || c != a == true && b != c == true) { val x = a(b) if (x != null == true) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } } @@ -534,16 +534,16 @@ fun case_27(y: Nothing?) { //TESTCASE NUMBER: 28 fun case_28(a: DeepObject.A.B.C.D.E.F.G.J?) = if (a != null == true == false == false == false == true == false == true == false == false == true == true && a.x !== nullableNothingProperty) { - a.x - a.equals(null) - a.propT - a.propAny - a.propNullableT - a.propNullableAny - a.funT() - a.funAny() - a.funNullableT() - a.funNullableAny() + a.x + a.equals(null) + a.propT + a.propAny + a.propNullableT + a.propNullableAny + a.funT() + a.funAny() + a.funNullableT() + a.funNullableAny() } else -1 // TESTCASE NUMBER: 29 diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/70.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/70.fir.kt index b94a96eb72f..d32762d5c7d 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/70.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/70.fir.kt @@ -10,8 +10,8 @@ fun case_1(): Int? { val x: Int? = null return when (x != null) { true -> { - x - x.inv() + x + x.inv() } else -> null } @@ -39,7 +39,7 @@ fun case_3(): Int? { val x: Int? = null return when (x == null) { false -> { - x + x } else -> null } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/71.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/71.fir.kt index 595073bb314..f10b4dc77aa 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/71.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/71.fir.kt @@ -11,7 +11,7 @@ fun case_1() { run { var unit: Unit? = Unit while (unit != null) { - unit + unit consume(unit) unit = null } @@ -20,7 +20,7 @@ fun case_1() { run { var unit: Unit? = Unit while (unit != null) { - unit + unit consume(unit) unit = null } @@ -36,7 +36,7 @@ fun case_2(): Int { fun b(): Int { var c: Int? = null if (c == null || 0 < c) c = 0 - c + c return c ?: 0 } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/72.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/72.fir.kt index 4076e05dfac..f2e83290499 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/72.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/72.fir.kt @@ -12,6 +12,6 @@ fun case_1() { val ints = list as MutableList val strs = list as MutableList strs.add("two") - & kotlin.collections.MutableList & kotlin.collections.MutableList")!>list - val s: String = & kotlin.collections.MutableList & kotlin.collections.MutableList")!>list[0] + & kotlin.collections.MutableList & kotlin.collections.MutableList")!>list + val s: String = & kotlin.collections.MutableList & kotlin.collections.MutableList")!>list[0] } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/73.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/73.fir.kt index 2b31c481330..ab26341d5ef 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/73.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/73.fir.kt @@ -9,8 +9,8 @@ */ fun case_1(x: Any?) { x is ClassLevel1 || return - x - x.test1() + x + x.test1() } /* @@ -20,8 +20,8 @@ fun case_1(x: Any?) { */ fun case_2(x: Any?) { x !is ClassLevel1 && return - x - x.test1() + x + x.test1() } /* @@ -30,6 +30,6 @@ fun case_2(x: Any?) { */ fun case_3(x: Any?) { x as? ClassLevel1 ?: return - x - x.test1() + x + x.test1() } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/8.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/8.fir.kt index eab764412c4..14f935ba289 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/8.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/8.fir.kt @@ -5,44 +5,44 @@ // TESTCASE NUMBER: 1 fun case_1(x: Inv?) { if (x != null) { - & Inv?")!>x - & Inv?")!>x.equals(null) - & Inv?")!>x.propT - & Inv?")!>x.propAny - & Inv?")!>x.propNullableT - & Inv?")!>x.propNullableAny - & Inv?")!>x.funT() - & Inv?")!>x.funAny() - & Inv?")!>x.funNullableT() - & Inv?")!>x.funNullableAny() + ? & Inv")!>x + ? & Inv")!>x.equals(null) + ? & Inv")!>x.propT + ? & Inv")!>x.propAny + ? & Inv")!>x.propNullableT + ? & Inv")!>x.propNullableAny + ? & Inv")!>x.funT() + ? & Inv")!>x.funAny() + ? & Inv")!>x.funNullableT() + ? & Inv")!>x.funNullableAny() } } // TESTCASE NUMBER: 2 fun case_2(a: Inv?>?>?>?>?>?) { if (a != null) { - val b = ?>?>?>?>?> & Inv?>?>?>?>?>?")!>a.get() + val b = ?>?>?>?>?>? & Inv?>?>?>?>?>")!>a.get() if (b != null) { - val c = ?>?>?>?> & Inv?>?>?>?>?")!>b.get() + val c = ?>?>?>?>? & Inv?>?>?>?>")!>b.get() if (c != null) { - val d = ?>?>?> & Inv?>?>?>?")!>c.get() + val d = ?>?>?>? & Inv?>?>?>")!>c.get() if (d != null) { - val e = ?>?> & Inv?>?>?")!>d.get() + val e = ?>?>? & Inv?>?>")!>d.get() if (e != null) { - val f = ?> & Inv?>?")!>e.get() + val f = ?>? & Inv?>")!>e.get() if (f != null) { - val g = & Inv?")!>f.get() + val g = ? & Inv")!>f.get() if (g != null) { - g - g.equals(null) - g.propT - g.propAny - g.propNullableT - g.propNullableAny - g.funT() - g.funAny() - g.funNullableT() - g.funNullableAny() + g + g.equals(null) + g.propT + g.propAny + g.propNullableT + g.propNullableAny + g.funT() + g.funAny() + g.funNullableT() + g.funNullableAny() } } } @@ -57,22 +57,22 @@ fun case_3(a: Inv?) { if (a != null) { val b = a if (a == null) { - & Inv?")!>b - & Inv?")!>b.equals(null) - & Inv?")!>b.propT - & Inv?")!>b.propAny - & Inv?")!>b.propNullableT - & Inv?")!>b.propNullableAny - & Inv?")!>b.funT() - & Inv?")!>b.funAny() - & Inv?")!>b.funNullableT() - & Inv?")!>b.funNullableAny() + ? & Inv")!>b + ? & Inv")!>b.equals(null) + ? & Inv")!>b.propT + ? & Inv")!>b.propAny + ? & Inv")!>b.propNullableT + ? & Inv")!>b.propNullableAny + ? & Inv")!>b.funT() + ? & Inv")!>b.funAny() + ? & Inv")!>b.funNullableT() + ? & Inv")!>b.funNullableAny() } } } // TESTCASE NUMBER: 4 -fun case_4(a: Inv?, b: Inv = if (a != null) & Inv?")!>a else Inv()) { +fun case_4(a: Inv?, b: Inv = if (a != null) ? & Inv")!>a else Inv()) { ?")!>a ")!>b ")!>b.equals(null) @@ -89,16 +89,16 @@ fun case_4(a: Inv?, b: Inv = if (a != null) & Out?")!>nullableOut - & Out?")!>nullableOut.equals(null) - & Out?")!>nullableOut.propT - & Out?")!>nullableOut.propAny - & Out?")!>nullableOut.propNullableT - & Out?")!>nullableOut.propNullableAny - & Out?")!>nullableOut.funT() - & Out?")!>nullableOut.funAny() - & Out?")!>nullableOut.funNullableT() - & Out?")!>nullableOut.funNullableAny() + ? & Out")!>nullableOut + ? & Out")!>nullableOut.equals(null) + ? & Out")!>nullableOut.propT + ? & Out")!>nullableOut.propAny + ? & Out")!>nullableOut.propNullableT + ? & Out")!>nullableOut.propNullableAny + ? & Out")!>nullableOut.funT() + ? & Out")!>nullableOut.funAny() + ? & Out")!>nullableOut.funNullableT() + ? & Out")!>nullableOut.funNullableAny() } } @@ -107,16 +107,16 @@ fun case_6() { val x: Inv? = null if (x != null) { - & Inv?")!>x - & Inv?")!>x.equals(null) - & Inv?")!>x.propT - & Inv?")!>x.propAny - & Inv?")!>x.propNullableT - & Inv?")!>x.propNullableAny - & Inv?")!>x.funT() - & Inv?")!>x.funAny() - & Inv?")!>x.funNullableT() - & Inv?")!>x.funNullableAny() + ? & Inv")!>x + ? & Inv")!>x.equals(null) + ? & Inv")!>x.propT + ? & Inv")!>x.propAny + ? & Inv")!>x.propNullableT + ? & Inv")!>x.propNullableAny + ? & Inv")!>x.funT() + ? & Inv")!>x.funAny() + ? & Inv")!>x.funNullableT() + ? & Inv")!>x.funNullableAny() } } @@ -125,32 +125,32 @@ fun case_7() { var x: Inv? = null if (x != null) { - & Inv?")!>x - & Inv?")!>x.equals(null) - & Inv?")!>x.propT - & Inv?")!>x.propAny - & Inv?")!>x.propNullableT - & Inv?")!>x.propNullableAny - & Inv?")!>x.funT() - & Inv?")!>x.funAny() - & Inv?")!>x.funNullableT() - & Inv?")!>x.funNullableAny() + ? & Inv")!>x + ? & Inv")!>x.equals(null) + ? & Inv")!>x.propT + ? & Inv")!>x.propAny + ? & Inv")!>x.propNullableT + ? & Inv")!>x.propNullableAny + ? & Inv")!>x.funT() + ? & Inv")!>x.funAny() + ? & Inv")!>x.funNullableT() + ? & Inv")!>x.funNullableAny() } } // TESTCASE NUMBER: 8 fun case_8(x: ClassWithThreeTypeParameters?>?) { if (x != null) { - ?> & ClassWithThreeTypeParameters?>?")!>x - ?> & ClassWithThreeTypeParameters?>?")!>x.equals(null) - ?> & ClassWithThreeTypeParameters?>?")!>x.propT - ?> & ClassWithThreeTypeParameters?>?")!>x.propAny - ?> & ClassWithThreeTypeParameters?>?")!>x.propNullableT - ?> & ClassWithThreeTypeParameters?>?")!>x.propNullableAny - ?> & ClassWithThreeTypeParameters?>?")!>x.funT() - ?> & ClassWithThreeTypeParameters?>?")!>x.funAny() - ?> & ClassWithThreeTypeParameters?>?")!>x.funNullableT() - ?> & ClassWithThreeTypeParameters?>?")!>x.funNullableAny() + ?>? & ClassWithThreeTypeParameters?>")!>x + ?>? & ClassWithThreeTypeParameters?>")!>x.equals(null) + ?>? & ClassWithThreeTypeParameters?>")!>x.propT + ?>? & ClassWithThreeTypeParameters?>")!>x.propAny + ?>? & ClassWithThreeTypeParameters?>")!>x.propNullableT + ?>? & ClassWithThreeTypeParameters?>")!>x.propNullableAny + ?>? & ClassWithThreeTypeParameters?>")!>x.funT() + ?>? & ClassWithThreeTypeParameters?>")!>x.funAny() + ?>? & ClassWithThreeTypeParameters?>")!>x.funNullableT() + ?>? & ClassWithThreeTypeParameters?>")!>x.funNullableAny() if (x.x != null) { x.x x.x.equals(null) diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/9.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/9.fir.kt index 59bd9a60449..f6479804ae3 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/9.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/9.fir.kt @@ -5,16 +5,16 @@ // TESTCASE NUMBER: 1 fun case_1(x: Out?) { if (x != null) { - & Out?")!>x - & Out?")!>x.equals(null) - & Out?")!>x.propT - & Out?")!>x.propAny - & Out?")!>x.propNullableT - & Out?")!>x.propNullableAny - & Out?")!>x.funT() - & Out?")!>x.funAny() - & Out?")!>x.funNullableT() - & Out?")!>x.funNullableAny() + ? & Out")!>x + ? & Out")!>x.equals(null) + ? & Out")!>x.propT + ? & Out")!>x.propAny + ? & Out")!>x.propNullableT + ? & Out")!>x.propNullableAny + ? & Out")!>x.funT() + ? & Out")!>x.funAny() + ? & Out")!>x.funNullableT() + ? & Out")!>x.funNullableAny() } } @@ -25,28 +25,28 @@ fun case_1(x: Out?) { */ fun case_2(a: Out?>?>?>?>?>?) { if (a != null) { - val b = ?>?>?>?>?> & Out?>?>?>?>?>?")!>a.get() + val b = ?>?>?>?>?>? & Out?>?>?>?>?>")!>a.get() if (b != null) { - val c = ?>?>?>?> & Out?>?>?>?>?")!>b.get() + val c = ?>?>?>?>? & Out?>?>?>?>")!>b.get() if (c != null) { - val d = ?>?>?> & Out?>?>?>?")!>c.get() + val d = ?>?>?>? & Out?>?>?>")!>c.get() if (d != null) { - val e = ?>?> & Out?>?>?")!>d.get() + val e = ?>?>? & Out?>?>")!>d.get() if (e != null) { - val f = ?> & Out?>?")!>e.get() + val f = ?>? & Out?>")!>e.get() if (f != null) { - val g = & Out?")!>f.get() + val g = ? & Out")!>f.get() if (g != null) { - g - g.equals(null) - g.propT - g.propAny - g.propNullableT - g.propNullableAny - g.funT() - g.funAny() - g.funNullableT() - g.funNullableAny() + g + g.equals(null) + g.propT + g.propAny + g.propNullableT + g.propNullableAny + g.funT() + g.funAny() + g.funNullableT() + g.funNullableAny() } } } @@ -61,21 +61,21 @@ fun case_3(a: Inv?) { if (a != null) { val b = a if (a == null) - & Inv?")!>b - & Inv?")!>b.equals(null) - & Inv?")!>b.propT - & Inv?")!>b.propAny - & Inv?")!>b.propNullableT - & Inv?")!>b.propNullableAny - & Inv?")!>b.funT() - & Inv?")!>b.funAny() - & Inv?")!>b.funNullableT() - & Inv?")!>b.funNullableAny() + ? & Inv")!>b + ? & Inv")!>b.equals(null) + ? & Inv")!>b.propT + ? & Inv")!>b.propAny + ? & Inv")!>b.propNullableT + ? & Inv")!>b.propNullableAny + ? & Inv")!>b.funT() + ? & Inv")!>b.funAny() + ? & Inv")!>b.funNullableT() + ? & Inv")!>b.funNullableAny() } } // TESTCASE NUMBER: 4 -fun case_4(a: Out?, b: Out = if (a != null) & Out?")!>a else Out()) { +fun case_4(a: Out?, b: Out = if (a != null) ? & Out")!>a else Out()) { ?")!>a ")!>b ")!>b.equals(null) @@ -94,16 +94,16 @@ val x: Out? = null fun case_5() { if (x != null) { - & Out?")!>x - & Out?")!>x.equals(null) - & Out?")!>x.propT - & Out?")!>x.propAny - & Out?")!>x.propNullableT - & Out?")!>x.propNullableAny - & Out?")!>x.funT() - & Out?")!>x.funAny() - & Out?")!>x.funNullableT() - & Out?")!>x.funNullableAny() + ? & Out")!>x + ? & Out")!>x.equals(null) + ? & Out")!>x.propT + ? & Out")!>x.propAny + ? & Out")!>x.propNullableT + ? & Out")!>x.propNullableAny + ? & Out")!>x.funT() + ? & Out")!>x.funAny() + ? & Out")!>x.funNullableT() + ? & Out")!>x.funNullableAny() } } @@ -112,16 +112,16 @@ fun case_6() { val x: Inv? = null if (x != null) { - & Inv?")!>x - & Inv?")!>x.equals(null) - & Inv?")!>x.propT - & Inv?")!>x.propAny - & Inv?")!>x.propNullableT - & Inv?")!>x.propNullableAny - & Inv?")!>x.funT() - & Inv?")!>x.funAny() - & Inv?")!>x.funNullableT() - & Inv?")!>x.funNullableAny() + ? & Inv")!>x + ? & Inv")!>x.equals(null) + ? & Inv")!>x.propT + ? & Inv")!>x.propAny + ? & Inv")!>x.propNullableT + ? & Inv")!>x.propNullableAny + ? & Inv")!>x.funT() + ? & Inv")!>x.funAny() + ? & Inv")!>x.funNullableT() + ? & Inv")!>x.funNullableAny() } } @@ -130,16 +130,16 @@ fun case_7() { var x: Out? = null if (x != null) { - & Out?")!>x - & Out?")!>x.equals(null) - & Out?")!>x.propT - & Out?")!>x.propAny - & Out?")!>x.propNullableT - & Out?")!>x.propNullableAny - & Out?")!>x.funT() - & Out?")!>x.funAny() - & Out?")!>x.funNullableT() - & Out?")!>x.funNullableAny() + ? & Out")!>x + ? & Out")!>x.equals(null) + ? & Out")!>x.propT + ? & Out")!>x.propAny + ? & Out")!>x.propNullableT + ? & Out")!>x.propNullableAny + ? & Out")!>x.funT() + ? & Out")!>x.funAny() + ? & Out")!>x.funNullableT() + ? & Out")!>x.funNullableAny() } } @@ -150,16 +150,16 @@ fun case_7() { */ fun case_8(x: ClassWithThreeTypeParameters?>?) { if (x != null) { - ?> & ClassWithThreeTypeParameters?>?")!>x - ?> & ClassWithThreeTypeParameters?>?")!>x.equals(null) - ?> & ClassWithThreeTypeParameters?>?")!>x.propT - ?> & ClassWithThreeTypeParameters?>?")!>x.propAny - ?> & ClassWithThreeTypeParameters?>?")!>x.propNullableT - ?> & ClassWithThreeTypeParameters?>?")!>x.propNullableAny - ?> & ClassWithThreeTypeParameters?>?")!>x.funT() - ?> & ClassWithThreeTypeParameters?>?")!>x.funAny() - ?> & ClassWithThreeTypeParameters?>?")!>x.funNullableT() - ?> & ClassWithThreeTypeParameters?>?")!>x.funNullableAny() + ?>? & ClassWithThreeTypeParameters?>")!>x + ?>? & ClassWithThreeTypeParameters?>")!>x.equals(null) + ?>? & ClassWithThreeTypeParameters?>")!>x.propT + ?>? & ClassWithThreeTypeParameters?>")!>x.propAny + ?>? & ClassWithThreeTypeParameters?>")!>x.propNullableT + ?>? & ClassWithThreeTypeParameters?>")!>x.propNullableAny + ?>? & ClassWithThreeTypeParameters?>")!>x.funT() + ?>? & ClassWithThreeTypeParameters?>")!>x.funAny() + ?>? & ClassWithThreeTypeParameters?>")!>x.funNullableT() + ?>? & ClassWithThreeTypeParameters?>")!>x.funNullableAny() if (x.x != null) { x.x x.x.equals(null) @@ -238,16 +238,16 @@ fun case_9(a: (Inv) -> Inv?, b: Inv?) { if (b != null) { val c = a(b) if (c != null) { - & Inv?")!>c - & Inv?")!>c.equals(null) - & Inv?")!>c.propT - & Inv?")!>c.propAny - & Inv?")!>c.propNullableT - & Inv?")!>c.propNullableAny - & Inv?")!>c.funT() - & Inv?")!>c.funAny() - & Inv?")!>c.funNullableT() - & Inv?")!>c.funNullableAny() + ? & Inv")!>c + ? & Inv")!>c.equals(null) + ? & Inv")!>c.propT + ? & Inv")!>c.propAny + ? & Inv")!>c.propNullableT + ? & Inv")!>c.propNullableAny + ? & Inv")!>c.funT() + ? & Inv")!>c.funAny() + ? & Inv")!>c.funNullableT() + ? & Inv")!>c.funNullableAny() } } } @@ -255,16 +255,16 @@ fun case_9(a: (Inv) -> Inv?, b: Inv?) { // TESTCASE NUMBER: 10 fun case_9(a: Inv<*>?) { if (a != null) { - & Inv<*>?")!>a - & Inv<*>?")!>a.equals(null) - & Inv<*>?")!>a.propT - & Inv<*>?")!>a.propAny - & Inv<*>?")!>a.propNullableT - & Inv<*>?")!>a.propNullableAny - & Inv<*>?")!>a.funT() - & Inv<*>?")!>a.funAny() - & Inv<*>?")!>a.funNullableT() - & Inv<*>?")!>a.funNullableAny() + ? & Inv<*>")!>a + ? & Inv<*>")!>a.equals(null) + ? & Inv<*>")!>a.propT + ? & Inv<*>")!>a.propAny + ? & Inv<*>")!>a.propNullableT + ? & Inv<*>")!>a.propNullableAny + ? & Inv<*>")!>a.funT() + ? & Inv<*>")!>a.funAny() + ? & Inv<*>")!>a.funNullableT() + ? & Inv<*>")!>a.funNullableAny() } } @@ -273,16 +273,16 @@ fun case_10() { val a10: Out<*>? = null if (a10 != null) { - & Out<*>?")!>a10 - & Out<*>?")!>a10.equals(null) - & Out<*>?")!>a10.propT - & Out<*>?")!>a10.propAny - & Out<*>?")!>a10.propNullableT - & Out<*>?")!>a10.propNullableAny - & Out<*>?")!>a10.funT() - & Out<*>?")!>a10.funAny() - & Out<*>?")!>a10.funNullableT() - & Out<*>?")!>a10.funNullableAny() + ? & Out<*>")!>a10 + ? & Out<*>")!>a10.equals(null) + ? & Out<*>")!>a10.propT + ? & Out<*>")!>a10.propAny + ? & Out<*>")!>a10.propNullableT + ? & Out<*>")!>a10.propNullableAny + ? & Out<*>")!>a10.funT() + ? & Out<*>")!>a10.funAny() + ? & Out<*>")!>a10.funNullableT() + ? & Out<*>")!>a10.funNullableAny() } } @@ -291,48 +291,48 @@ fun case_11() { val a: In<*>? = null if (a != null) { - & In<*>?")!>a - & In<*>?")!>a.equals(null) - & In<*>?")!>a.propT - & In<*>?")!>a.propAny - & In<*>?")!>a.propNullableT - & In<*>?")!>a.propNullableAny - & In<*>?")!>a.funT() - & In<*>?")!>a.funAny() - & In<*>?")!>a.funNullableT() - & In<*>?")!>a.funNullableAny() + ? & In<*>")!>a + ? & In<*>")!>a.equals(null) + ? & In<*>")!>a.propT + ? & In<*>")!>a.propAny + ? & In<*>")!>a.propNullableT + ? & In<*>")!>a.propNullableAny + ? & In<*>")!>a.funT() + ? & In<*>")!>a.funAny() + ? & In<*>")!>a.funNullableT() + ? & In<*>")!>a.funNullableAny() } } // TESTCASE NUMBER: 13 fun case_13(a: ClassWithSixTypeParameters<*, *, *, *, *, *>?) { if (a != null) { - & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>a - & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>a.equals(null) - & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>a.propT - & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>a.propAny - & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>a.propNullableT - & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>a.propNullableAny - & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>a.funT() - & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>a.funAny() - & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>a.funNullableT() - & ClassWithSixTypeParameters<*, *, *, *, *, *>?")!>a.funNullableAny() + ? & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>a + ? & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>a.equals(null) + ? & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>a.propT + ? & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>a.propAny + ? & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>a.propNullableT + ? & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>a.propNullableAny + ? & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>a.funT() + ? & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>a.funAny() + ? & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>a.funNullableT() + ? & ClassWithSixTypeParameters<*, *, *, *, *, *>")!>a.funNullableAny() } } // TESTCASE NUMBER: 14 fun case_14(a: ClassWithSixTypeParameters<*, Int, *, Out<*>, *, Map>>?) { if (a != null) { - , *, kotlin.collections.Map>> & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>?")!>a - , *, kotlin.collections.Map>> & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>?")!>a.equals(null) - , *, kotlin.collections.Map>> & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>?")!>a.propT - , *, kotlin.collections.Map>> & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>?")!>a.propAny - , *, kotlin.collections.Map>> & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>?")!>a.propNullableT - , *, kotlin.collections.Map>> & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>?")!>a.propNullableAny - , *, kotlin.collections.Map>> & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>?")!>a.funT() - , *, kotlin.collections.Map>> & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>?")!>a.funAny() - , *, kotlin.collections.Map>> & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>?")!>a.funNullableT() - , *, kotlin.collections.Map>> & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>?")!>a.funNullableAny() + , *, kotlin.collections.Map>>? & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>")!>a + , *, kotlin.collections.Map>>? & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>")!>a.equals(null) + , *, kotlin.collections.Map>>? & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>")!>a.propT + , *, kotlin.collections.Map>>? & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>")!>a.propAny + , *, kotlin.collections.Map>>? & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>")!>a.propNullableT + , *, kotlin.collections.Map>>? & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>")!>a.propNullableAny + , *, kotlin.collections.Map>>? & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>")!>a.funT() + , *, kotlin.collections.Map>>? & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>")!>a.funAny() + , *, kotlin.collections.Map>>? & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>")!>a.funNullableT() + , *, kotlin.collections.Map>>? & ClassWithSixTypeParameters<*, kotlin.Int, *, Out<*>, *, kotlin.collections.Map>>")!>a.funNullableAny() } } @@ -341,15 +341,15 @@ fun case_15(a: Any?) { if (a is ClassWithSixTypeParameters<*, *, *, *, *, *>?) { if (a != null) { a - & kotlin.Any?")!>a.equals(null) - & kotlin.Any?")!>a.propT - & kotlin.Any?")!>a.propAny - & kotlin.Any?")!>a.propNullableT - & kotlin.Any?")!>a.propNullableAny - & kotlin.Any?")!>a.funT() - & kotlin.Any?")!>a.funAny() - & kotlin.Any?")!>a.funNullableT() - & kotlin.Any?")!>a.funNullableAny() + ")!>a.equals(null) + ")!>a.propT + ")!>a.propAny + ")!>a.propNullableT + ")!>a.propNullableAny + ")!>a.funT() + ")!>a.funAny() + ")!>a.funNullableT() + ")!>a.funNullableAny() } } } @@ -360,16 +360,16 @@ fun case_16(a: Any?) { } else { if (a !is ClassWithSixTypeParameters<*, *, *, *, *, *>?) { } else { - & kotlin.Any?")!>a - & kotlin.Any?")!>a.equals(null) - & kotlin.Any?")!>a.propT - & kotlin.Any?")!>a.propAny - & kotlin.Any?")!>a.propNullableT - & kotlin.Any?")!>a.propNullableAny - & kotlin.Any?")!>a.funT() - & kotlin.Any?")!>a.funAny() - & kotlin.Any?")!>a.funNullableT() - & kotlin.Any?")!>a.funNullableAny() + ")!>a + ")!>a.equals(null) + ")!>a.propT + ")!>a.propAny + ")!>a.propNullableT + ")!>a.propNullableAny + ")!>a.funT() + ")!>a.funAny() + ")!>a.funNullableT() + ")!>a.funNullableAny() } } } @@ -381,28 +381,28 @@ fun case_16(a: Any?) { */ fun case_17(a: Inv?>?>?>?>?>?) { if (a != null) { - val b = ?>?>?>?>?> & Inv?>?>?>?>?>?")!>a.get() + val b = ?>?>?>?>?>? & Inv?>?>?>?>?>")!>a.get() if (b != null) { - val c = ?>?>?>?> & Out?>?>?>?>?")!>b.get() + val c = ?>?>?>?>? & Out?>?>?>?>")!>b.get() if (c != null) { - val d = ?>?>?> & Out?>?>?>?")!>c.get() + val d = ?>?>?>? & Out?>?>?>")!>c.get() if (d != null) { - val e = ?>?> & Out?>?>?")!>d.get() + val e = ?>?>? & Out?>?>")!>d.get() if (e != null) { - val f = ?> & Out?>?")!>e.get() + val f = ?>? & Out?>")!>e.get() if (f != null) { - val g = & Out?")!>f.get() + val g = ? & Out")!>f.get() if (g != null) { - g - g.equals(null) - g.propT - g.propAny - g.propNullableT - g.propNullableAny - g.funT() - g.funAny() - g.funNullableT() - g.funNullableAny() + g + g.equals(null) + g.propT + g.propAny + g.propNullableT + g.propNullableAny + g.funT() + g.funAny() + g.funNullableT() + g.funNullableAny() } } } @@ -622,16 +622,16 @@ fun case_30() { val b = a.getWithUpperBoundT(10) if (b != null) { - b - b.equals(null) - b.propT - b.propAny - b.propNullableT - b.propNullableAny - b.funT() - b.funAny() - b.funNullableT() - b.funNullableAny() + b + b.equals(null) + b.propT + b.propAny + b.propNullableT + b.propNullableAny + b.funT() + b.funAny() + b.funNullableT() + b.funNullableAny() } } @@ -640,16 +640,16 @@ fun case_31(y: Inv) { val x = y.get() if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -658,16 +658,16 @@ fun case_32(y: Inv) { val x = y.getNullable() if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -676,16 +676,16 @@ fun case_33(y: Inv) { val x = y.getNullable() if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } } @@ -694,15 +694,15 @@ fun case_34(y: Inv) { val x = y.getNullable() if (x != null) { - x - x.equals(null) - x.propT - x.propAny - x.propNullableT - x.propNullableAny - x.funT() - x.funAny() - x.funNullableT() - x.funNullableAny() + x + x.equals(null) + x.propT + x.propAny + x.propNullableT + x.propNullableAny + x.funT() + x.funAny() + x.funNullableT() + x.funNullableAny() } }