Fix cli testdata for the newly added warning suppression tests

This commit is contained in:
Ilya Chernikov
2023-08-21 17:16:42 +02:00
committed by Space Team
parent 562ede4c7d
commit effb2f801d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
$TESTDATA_DIR$/errorSuppression.kt
-language-version
2.0
2.1
-Xdont-warn-on-error-suppression
-d
$TEMP_DIR$
+1 -1
View File
@@ -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
+1 -1
View File
@@ -1,5 +1,5 @@
$TESTDATA_DIR$/errorSuppression.kt
-language-version
2.0
2.1
-d
$TEMP_DIR$
+1 -1
View File
@@ -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")
^