From effb2f801d0978caba3b671735e68663115ac8d5 Mon Sep 17 00:00:00 2001 From: Ilya Chernikov Date: Mon, 21 Aug 2023 17:16:42 +0200 Subject: [PATCH] Fix cli testdata for the newly added warning suppression tests --- compiler/testData/cli/jvm/errorSuppressionNoWarning.args | 2 +- compiler/testData/cli/jvm/errorSuppressionNoWarning.out | 2 +- compiler/testData/cli/jvm/errorSuppressionWarning.args | 2 +- compiler/testData/cli/jvm/errorSuppressionWarning.out | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/testData/cli/jvm/errorSuppressionNoWarning.args b/compiler/testData/cli/jvm/errorSuppressionNoWarning.args index deddf8f430f..d5299907a36 100644 --- a/compiler/testData/cli/jvm/errorSuppressionNoWarning.args +++ b/compiler/testData/cli/jvm/errorSuppressionNoWarning.args @@ -1,6 +1,6 @@ $TESTDATA_DIR$/errorSuppression.kt -language-version -2.0 +2.1 -Xdont-warn-on-error-suppression -d $TEMP_DIR$ diff --git a/compiler/testData/cli/jvm/errorSuppressionNoWarning.out b/compiler/testData/cli/jvm/errorSuppressionNoWarning.out index 86ca0241885..36510467d72 100644 --- a/compiler/testData/cli/jvm/errorSuppressionNoWarning.out +++ b/compiler/testData/cli/jvm/errorSuppressionNoWarning.out @@ -1,2 +1,2 @@ -warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features +warning: language version 2.1 is experimental, there are no backwards compatibility guarantees for new language and library features OK diff --git a/compiler/testData/cli/jvm/errorSuppressionWarning.args b/compiler/testData/cli/jvm/errorSuppressionWarning.args index b9e00619b06..2f519a0ba47 100644 --- a/compiler/testData/cli/jvm/errorSuppressionWarning.args +++ b/compiler/testData/cli/jvm/errorSuppressionWarning.args @@ -1,5 +1,5 @@ $TESTDATA_DIR$/errorSuppression.kt -language-version -2.0 +2.1 -d $TEMP_DIR$ diff --git a/compiler/testData/cli/jvm/errorSuppressionWarning.out b/compiler/testData/cli/jvm/errorSuppressionWarning.out index fe8f8ea92e6..be5f947b344 100644 --- a/compiler/testData/cli/jvm/errorSuppressionWarning.out +++ b/compiler/testData/cli/jvm/errorSuppressionWarning.out @@ -1,4 +1,4 @@ -warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features +warning: language version 2.1 is experimental, there are no backwards compatibility guarantees for new language and library features compiler/testData/cli/jvm/errorSuppression.kt:1:11: warning: this code uses error suppression for 'UNSUPPORTED'. While it might compile and work, the compiler behavior is UNSPECIFIED and WON'T BE PRESERVED. Please report your use case to the Kotlin issue tracker instead: https://kotl.in/issue @Suppress("UNSUPPORTED") ^