diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt index fc240e6bbe6..0fb4613719c 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/when-expression/p-6/neg/1.2.fir.kt @@ -3,7 +3,7 @@ // TESTCASE NUMBER: 1 fun case_1(value_1: Any, value_2: Int): String { when (value_1) { - is value_2 -> return "" + is value_2 -> return "" } return "" diff --git a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-contexts-and-scopes/inner-and-nested-type-contexts/p-1/neg/2.1.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-contexts-and-scopes/inner-and-nested-type-contexts/p-1/neg/2.1.fir.kt index f1ea337d1b3..d90e054059b 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/type-system/type-contexts-and-scopes/inner-and-nested-type-contexts/p-1/neg/2.1.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/type-system/type-contexts-and-scopes/inner-and-nested-type-contexts/p-1/neg/2.1.fir.kt @@ -8,14 +8,14 @@ class Case1(val x: AT) { class B(val y: AT) { fun case1() { - val k: AT + val k: AT } } class C() { fun case1(x: Any) { when (x) { - is AT -> println("at") + is AT -> println("at") else -> println("else") } } 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 5cd070dbb0a..d901325f764 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 @@ -179,7 +179,7 @@ fun case_12(x: TypealiasNullableStringIndirect, y: TypealiasNullableStringIndire else "-1" // TESTCASE NUMBER: 13 -fun case_13(x: otherpackage.Case13?) = +fun case_13(x: otherpackage.Case13?) = if ((x == null !is Boolean) !== true) { throw Exception() } else { @@ -189,7 +189,7 @@ fun case_13(x: otherpackage.Case13?) = // TESTCASE NUMBER: 14 class Case14 { - val x: otherpackage.Case14? + val x: otherpackage.Case14? init { x = otherpackage.Case14() }