diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt index c91101f1148..985497fa3c2 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/constant-literals/boolean-literals/p-1/pos/2.1.kt @@ -18,6 +18,7 @@ internal open class A: `true`() { val x2 = false } +@Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE) annotation class `false`(val x2: Boolean) @`false`(false) internal class B: @`false`(false) A() {} @@ -40,4 +41,4 @@ fun box(): String? { if (!checkClassName(`true`::class, "true")) return null return "OK" -} \ No newline at end of file +} diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.2.exceptions.compiletime.txt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.2.exceptions.compiletime.txt index fb37ec742e5..455329cccc4 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.2.exceptions.compiletime.txt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/neg/1.2.exceptions.compiletime.txt @@ -1 +1 @@ -java.lang.IllegalStateException: NO_ELSE_IN_WHEN: 'when' expression must be exhaustive, add necessary 'false' branch or 'else' branch instead (15,17) in /1.2.kt +java.lang.IllegalStateException: NO_ELSE_IN_WHEN: 'when' expression must be exhaustive, add necessary 'true', 'false' branches or 'else' branch instead (15,17) in /1.2.kt diff --git a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.2.kt b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.2.kt index c01407cb6f6..20eae287a7f 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.2.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/expressions/when-expression/p-4/pos/1.2.kt @@ -15,6 +15,7 @@ fun box(): String { false -> { "NOK" } !false -> { "OK" } !false -> { "NOK" } + else -> { "NOK" } } return when2 -} \ No newline at end of file +} diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-1/pos/2.4.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-1/pos/2.4.kt index 08acc37aa2e..7b0a3f2110e 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-1/pos/2.4.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-1/pos/2.4.kt @@ -1,3 +1,4 @@ +// LANGUAGE: -SafeCallsAreAlwaysNullable // WITH_RUNTIME /* @@ -70,4 +71,4 @@ operator fun B.plusAssign(c: Any?) { } -class C \ No newline at end of file +class C diff --git a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-1/pos/2.8.kt b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-1/pos/2.8.kt index 3666b9cd3a4..704a78a179e 100644 --- a/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-1/pos/2.8.kt +++ b/compiler/tests-spec/testData/codegen/box/linked/overload-resolution/building-the-overload-candidate-set-ocs/operator-call/p-1/pos/2.8.kt @@ -1,3 +1,4 @@ +// LANGUAGE: -SafeCallsAreAlwaysNullable // WITH_RUNTIME /* @@ -70,4 +71,4 @@ infix operator fun B.plusAssign(c: Any?) { } -class C \ No newline at end of file +class C