From c519003e133d1c0450ad3439b813114860d28f23 Mon Sep 17 00:00:00 2001 From: Mikhael Bogdanov Date: Wed, 30 Jun 2021 10:43:05 +0200 Subject: [PATCH] Update test affected by `ProhibitSimplificationOfNonTrivialConstBooleanExpressions` feature --- compiler/testData/codegen/box/controlStructures/kt12908_2.kt | 1 + compiler/testData/codegen/box/when/exhaustiveBoolean.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/compiler/testData/codegen/box/controlStructures/kt12908_2.kt b/compiler/testData/codegen/box/controlStructures/kt12908_2.kt index 9e1de9c3e5d..a2a6d7fb28b 100644 --- a/compiler/testData/codegen/box/controlStructures/kt12908_2.kt +++ b/compiler/testData/codegen/box/controlStructures/kt12908_2.kt @@ -1,3 +1,4 @@ +// LANGUAGE: -ProhibitSimplificationOfNonTrivialConstBooleanExpressions // IGNORE_FIR_DIAGNOSTICS var field: Int = 0 diff --git a/compiler/testData/codegen/box/when/exhaustiveBoolean.kt b/compiler/testData/codegen/box/when/exhaustiveBoolean.kt index 37432bf89f7..f7b35c3c30b 100644 --- a/compiler/testData/codegen/box/when/exhaustiveBoolean.kt +++ b/compiler/testData/codegen/box/when/exhaustiveBoolean.kt @@ -1,3 +1,4 @@ +// LANGUAGE: -ProhibitSimplificationOfNonTrivialConstBooleanExpressions // IGNORE_BACKEND_FIR: JVM_IR fun box() : String = when (true) { ((true)) -> "OK"