diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.kt index c4b300ccca2..70ac0b8d0f3 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/32.kt @@ -21,8 +21,8 @@ fun stringArg(number: String) {} */ fun case_1(x: Int?) { if (x == null) { - stringArg(x!!) - x + stringArg(x!!) + x } } @@ -33,8 +33,8 @@ fun case_1(x: Int?) { */ fun case_2(x: Int?, y: Nothing?) { if (x == y) { - stringArg(x!!) - x + stringArg(x!!) + x } } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.kt index 477fd3756b8..19c57b0dc3c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/33.kt @@ -95,6 +95,6 @@ fun case_6() { null!! } - x - x.minus(10.0) + x + x.minus(10.0) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.kt index 917f40abca0..b72a2835930 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/35.kt @@ -43,7 +43,7 @@ fun case_2(x: Any?) { */ fun case_3(x: Any?) { while (true) { - x ?: return ?: x + x ?: return ?: x } x diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.kt index 1161c2964fe..88abace7073 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/36.kt @@ -88,7 +88,7 @@ fun case_5(x: Any?) { fun case_6(x: Any?) { var y = x ?: null!! while (false || y is Number) { - x + x y y.toByte() } @@ -102,7 +102,7 @@ fun case_6(x: Any?) { fun case_7(x: Any?, z: Any) { var y = x ?: null!! while (false || y === z) { - x + x y y.equals(10) } @@ -116,7 +116,7 @@ fun case_7(x: Any?, z: Any) { fun case_8(x: Any?, z: Any) { var y = x ?: null!! y == z || return - x + x y y.equals(10) } diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.kt index 7117529817c..bed3cfa3584 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/37.kt @@ -43,7 +43,7 @@ fun case_2(a: Any?) { */ fun case_3(x: Int?) { while (true) { - x ?: return ?: x + x ?: return ?: x } x